diff options
author | Paul Gilbert | 2007-11-22 11:21:04 +0000 |
---|---|---|
committer | Paul Gilbert | 2007-11-22 11:21:04 +0000 |
commit | c7b3130b660e7eec88e77e9e287f184e882d7ef0 (patch) | |
tree | 6ab226d3a629111330562b68e4feea5e597a2c6d | |
parent | 207ecdb33239b51b9afdeb621a8ff0dbffecee3a (diff) | |
download | scummvm-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.cpp | 2 |
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; |