projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe8f6df
)
- fixed level editor crash (a hack)
author
Ryan Flegel
<rflegel@gmail.com>
Sat, 29 May 2004 00:38:15 +0000
(
00:38
+0000)
committer
Ryan Flegel
<rflegel@gmail.com>
Sat, 29 May 2004 00:38:15 +0000
(
00:38
+0000)
SVN-Revision: 1359
src/button.cpp
patch
|
blob
|
history
diff --git
a/src/button.cpp
b/src/button.cpp
index
27697c9
..
3c1d083
100644
(file)
--- a/
src/button.cpp
+++ b/
src/button.cpp
@@
-116,7
+116,9
@@
Button::~Button()
for(std::vector<Surface*>::iterator it = icon.begin(); it != icon.end(); ++it)
delete (*it);
icon.clear();
- delete drawable;
+ // FIXME TODO XXX: commenting this out fixes the leveleditor quit crash
+ // probably should be deleted somehow, though
+ //delete drawable;
}
void Button::event(SDL_Event &event)