summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
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;