aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2007-11-22 11:21:04 +0000
committerPaul Gilbert2007-11-22 11:21:04 +0000
commitc7b3130b660e7eec88e77e9e287f184e882d7ef0 (patch)
tree6ab226d3a629111330562b68e4feea5e597a2c6d
parent207ecdb33239b51b9afdeb621a8ff0dbffecee3a (diff)
downloadscummvm-rg350-c7b3130b660e7eec88e77e9e287f184e882d7ef0.tar.gz
scummvm-rg350-c7b3130b660e7eec88e77e9e287f184e882d7ef0.tar.bz2
scummvm-rg350-c7b3130b660e7eec88e77e9e287f184e882d7ef0.zip
Bugfix for the Escape key to close the Save/Restore dialog
svn-id: r29609
-rw-r--r--engines/lure/surface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/lure/surface.cpp b/engines/lure/surface.cpp
index c241a6551a..5e45bf9790 100644
--- a/engines/lure/surface.cpp
+++ b/engines/lure/surface.cpp
@@ -730,7 +730,7 @@ bool SaveRestoreDialog::show(bool saveDialog) {
bool doneFlag = false;
while (!abortFlag && !doneFlag) {
// Provide highlighting of lines to select a save slot
- while (!(mouse.lButton() && (selectedLine != -1)) && !mouse.rButton()) {
+ while (!abortFlag && !(mouse.lButton() && (selectedLine != -1)) && !mouse.rButton()) {
abortFlag = events.quitFlag;
if (abortFlag) break;