diff src/main/linux/SDL_Qtopia_main.cc @ 394:d15bef937f00

*** empty log message ***
author Sam Lantinga <slouken@libsdl.org>
date Mon, 10 Jun 2002 20:21:55 +0000
parents 11c8a7684f74
children 969fbd4dcd4e
line wrap: on
line diff
--- 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));
 }