diff options
author | Max Horn | 2002-09-20 00:12:58 +0000 |
---|---|---|
committer | Max Horn | 2002-09-20 00:12:58 +0000 |
commit | e0f11edf45361eb79ee281254602edc1748007e0 (patch) | |
tree | df4e9a1cac5237e44ab9101baa9dcbe53e6009e7 /backends/sdl | |
parent | fcfc72296ccf751d4900d05129cbefcc0823550b (diff) | |
download | scummvm-rg350-e0f11edf45361eb79ee281254602edc1748007e0.tar.gz scummvm-rg350-e0f11edf45361eb79ee281254602edc1748007e0.tar.bz2 scummvm-rg350-e0f11edf45361eb79ee281254602edc1748007e0.zip |
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?)
svn-id: r4979
Diffstat (limited to 'backends/sdl')
-rw-r--r-- | backends/sdl/sdl-common.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/sdl/sdl-common.cpp b/backends/sdl/sdl-common.cpp index 3c1fd3a151..b27b5ee5c1 100644 --- a/backends/sdl/sdl-common.cpp +++ b/backends/sdl/sdl-common.cpp @@ -681,7 +681,7 @@ void OSystem_SDL_Common::quit() { SDL_CDClose(cdrom); } unload_gfx_mode(); - exit(1); + exit(0); } void OSystem_SDL_Common::draw_mouse() { |