src/main/linux/SDL_Qtopia_main.cc
changeset 394 d15bef937f00
parent 379 11c8a7684f74
child 567 969fbd4dcd4e
--- a/src/main/linux/SDL_Qtopia_main.cc	Sat Jun 08 19:33:48 2002 +0000
+++ b/src/main/linux/SDL_Qtopia_main.cc	Mon Jun 10 20:21:55 2002 +0000
@@ -19,5 +19,7 @@
   QWidget dummy;
   app.showMainWidget(&dummy);
 #endif
-  return(SDL_main(argc, argv));
+  // Exit here because if return is used, the application
+  // doesn't seem to quit correctly.
+  exit(SDL_main(argc, argv));
 }