projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cdb879d
)
Leveleditor closes on SDL_QUIT events now.
author
Tobias Gläßer
<tobi.web@gmx.de>
Mon, 10 May 2004 21:59:25 +0000
(21:59 +0000)
committer
Tobias Gläßer
<tobi.web@gmx.de>
Mon, 10 May 2004 21:59:25 +0000
(21:59 +0000)
SVN-Revision: 1093
src/leveleditor.cpp
patch
|
blob
|
history
diff --git
a/src/leveleditor.cpp
b/src/leveleditor.cpp
index
7f7a5f4
..
3d70081
100644
(file)
--- a/
src/leveleditor.cpp
+++ b/
src/leveleditor.cpp
@@
-1226,13
+1226,14
@@
void le_checkevents()
}
}
break;
- case SDL_QUIT: // window closed
- done = 1;
- break;
default:
break;
}
}
+ else if(event.type == SDL_QUIT) /* window closing */
+ {
+ done = 1;
+ }
}
if(le_world != NULL)