[Scummvm-cvs-logs] SF.net SVN: scummvm:[39980] scummvm/trunk/engines/cruise/menu.cpp

dreammaster at users.sourceforge.net dreammaster at users.sourceforge.net
Sat Apr 18 13:20:06 CEST 2009


Revision: 39980
          http://scummvm.svn.sourceforge.net/scummvm/?rev=39980&view=rev
Author:   dreammaster
Date:     2009-04-18 11:20:05 +0000 (Sat, 18 Apr 2009)

Log Message:
-----------
Changed the 'Exit' game menu option to exit gracefully, rather than using exit()

Modified Paths:
--------------
    scummvm/trunk/engines/cruise/menu.cpp

Modified: scummvm/trunk/engines/cruise/menu.cpp
===================================================================
--- scummvm/trunk/engines/cruise/menu.cpp	2009-04-18 10:16:08 UTC (rev 39979)
+++ scummvm/trunk/engines/cruise/menu.cpp	2009-04-18 11:20:05 UTC (rev 39980)
@@ -263,7 +263,7 @@
 		case 6: // restart
 			break;
 		case 7: // exit
-			exit(0);
+			return 1;
 			break;
 		}
 	}


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list