changeset 394:d15bef937f00

*** empty log message ***
author Sam Lantinga <slouken@libsdl.org>
date Mon, 10 Jun 2002 20:21:55 +0000
parents 84acd4f134e7
children 276d0d7ba96c
files src/main/linux/SDL_Qtopia_main.cc
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
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));
 }