Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
Oxygen for GTK
Commits
118aba00
Commit
118aba00
authored
Mar 03, 2013
by
Ruslan Kabatsayev
Browse files
Add some debug warnings
CCBUG: 304381
parent
8917b9f3
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/oxygentileset.cpp
View file @
118aba00
...
...
@@ -64,6 +64,9 @@ namespace Oxygen
initSurface
(
_surfaces
,
surface
,
w
,
_h3
,
_w1
,
_h1
+
h2
,
w2
,
_h3
);
initSurface
(
_surfaces
,
surface
,
_w3
,
_h3
,
_w1
+
w2
,
_h1
+
h2
,
_w3
,
_h3
);
if
(
!
isValid
())
std
::
cerr
<<
"oxygen-gtk: BUG: created tileset looks invalid, expect resource leaks ("
<<
__FILE__
<<
":"
<<
__LINE__
<<
")
\n
"
;
}
//______________________________________________________________
...
...
@@ -92,6 +95,9 @@ namespace Oxygen
initSurface
(
_surfaces
,
surface
,
w
,
_h3
,
x1
,
y2
,
w2
,
_h3
);
initSurface
(
_surfaces
,
surface
,
_w3
,
_h3
,
x2
,
y2
,
_w3
,
_h3
);
if
(
!
isValid
())
std
::
cerr
<<
"oxygen-gtk: BUG: created tileset looks invalid, expect resource leaks ("
<<
__FILE__
<<
":"
<<
__LINE__
<<
")
\n
"
;
}
//______________________________________________________________
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment