aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorMax Horn2004-08-11 21:49:58 +0000
committerMax Horn2004-08-11 21:49:58 +0000
commitee70457667b7480226b3af3bf3047e098a0344c5 (patch)
treee05bab6e875610e014a821826c5a1a66a09ff5fe /scumm
parent39137da10d4c8c18c0c0a6b30351459d1654a6c2 (diff)
downloadscummvm-rg350-ee70457667b7480226b3af3bf3047e098a0344c5.tar.gz
scummvm-rg350-ee70457667b7480226b3af3bf3047e098a0344c5.tar.bz2
scummvm-rg350-ee70457667b7480226b3af3bf3047e098a0344c5.zip
Fix for bug #1007093 (GUI: removing game configuration from Launcher buggy); moral: either document how things work, or at least provide well named constants for certain return values... using the cheap way out here, i.e. method (b) :-)
svn-id: r14557
Diffstat (limited to 'scumm')
-rw-r--r--scumm/resource.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/resource.cpp b/scumm/resource.cpp
index ee479d9fca..249a21f049 100644
--- a/scumm/resource.cpp
+++ b/scumm/resource.cpp
@@ -419,7 +419,7 @@ void ScummEngine::askForDisk(const char *filename, int disknum) {
#endif
result = displayMessage("Quit", buf);
- if (result == 2) {
+ if (!result) {
#ifdef __PALM_OS__
error("Cannot find file: '%s'", filename);
#else