[Scummvm-cvs-logs] CVS: scummvm/backends/sdl sdl-common.cpp,1.4,1.5

Max Horn fingolfin at users.sourceforge.net
Thu Sep 19 17:13:14 CEST 2002


Update of /cvsroot/scummvm/scummvm/backends/sdl
In directory usw-pr-cvs1:/tmp/cvs-serv15786/backends/sdl

Modified Files:
	sdl-common.cpp 
Log Message:
quit should not exit(1) but rather exit(0) (mabye we should add a paramter 'bool success' to it that flags whether this is a normal exit or one with an error?)

Index: sdl-common.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/sdl/sdl-common.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- sdl-common.cpp	19 Sep 2002 16:06:46 -0000	1.4
+++ sdl-common.cpp	20 Sep 2002 00:12:58 -0000	1.5
@@ -681,7 +681,7 @@
 		SDL_CDClose(cdrom);
 	}
 	unload_gfx_mode();		
-	exit(1);
+	exit(0);
 }
 
 void OSystem_SDL_Common::draw_mouse() {





More information about the Scummvm-git-logs mailing list