summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorRoderic Morris <roderic@ccs.neu.edu>2008-10-24 00:28:05 +0000
committerRoderic Morris <roderic@ccs.neu.edu>2008-10-24 00:28:05 +0000
commit0b2235dfff7f7c0f534746271ff66275297fd328 (patch)
tree27d0ed8f487ccf7793606f20d8ce5d9814343efd /src/main.cpp
parentafa57ceea0df1ce1ca494d7794e2f6542befc214 (diff)
downloadmana-0b2235dfff7f7c0f534746271ff66275297fd328.tar.gz
mana-0b2235dfff7f7c0f534746271ff66275297fd328.tar.bz2
mana-0b2235dfff7f7c0f534746271ff66275297fd328.tar.xz
mana-0b2235dfff7f7c0f534746271ff66275297fd328.zip
fixes for targetting (by Chuck Miller)
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 59c7f74f..628ad8dc 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -798,8 +798,10 @@ int main(int argc, char *argv[])
while (state != STATE_FORCE_QUIT)
{
// Handle SDL events
- while (SDL_PollEvent(&event)) {
- switch (event.type) {
+ while (SDL_PollEvent(&event))
+ {
+ switch (event.type)
+ {
case SDL_QUIT:
state = STATE_FORCE_QUIT;
break;