# HG changeset patch # User Sam Lantinga # Date 1023740515 0 # Node ID d15bef937f00bd848f241f4dd7f71eb2219dfae1 # Parent 84acd4f134e73e7d3c8457c0c768aa95f466d901 *** empty log message *** diff -r 84acd4f134e7 -r d15bef937f00 src/main/linux/SDL_Qtopia_main.cc --- 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)); }