aboutsummaryrefslogtreecommitdiff
path: root/gui/gui.cpp
diff options
context:
space:
mode:
authorJames Brown2002-09-17 04:52:50 +0000
committerJames Brown2002-09-17 04:52:50 +0000
commit79857fd7e8b7d0a3585d699fc5c422841838e1d0 (patch)
tree913407cad3540d426304fcdae739333dee3a3b00 /gui/gui.cpp
parente4ce428bddb7cf53c91cc1f5374ca3928b631245 (diff)
downloadscummvm-rg350-79857fd7e8b7d0a3585d699fc5c422841838e1d0.tar.gz
scummvm-rg350-79857fd7e8b7d0a3585d699fc5c422841838e1d0.tar.bz2
scummvm-rg350-79857fd7e8b7d0a3585d699fc5c422841838e1d0.zip
Replace some exit()'s with a call to the OSystem quit method, as per 610251.
svn-id: r4956
Diffstat (limited to 'gui/gui.cpp')
-rw-r--r--gui/gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/gui.cpp b/gui/gui.cpp
index 96c74fd469..1eee1e8021 100644
--- a/gui/gui.cpp
+++ b/gui/gui.cpp
@@ -862,7 +862,7 @@ void Gui::handleCommand(int cmd)
#ifdef _WIN32_WCE
do_quit();
#endif
- exit(1);
+ _s->_system->quit();
return;
case 7: /* cancel button */
_cur_page = 0;