aboutsummaryrefslogtreecommitdiff
path: root/engines/dm/dialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/dm/dialog.cpp')
-rw-r--r--engines/dm/dialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/dm/dialog.cpp b/engines/dm/dialog.cpp
index af38bcd0ee..39fbadd8e5 100644
--- a/engines/dm/dialog.cpp
+++ b/engines/dm/dialog.cpp
@@ -175,7 +175,7 @@ int16 DialogMan::getChoice(uint16 choiceCount, uint16 dialogSetIndex, int16 driv
_vm->_eventMan->processCommandQueue();
_vm->delay(1);
_vm->_displayMan->updateScreen();
- if ((_selectedDialogChoice == 99) && (choiceCount == 1)
+ if ((_selectedDialogChoice == 99) && (choiceCount == 1)
&& (eventType != Common::EVENT_INVALID) && key.kbd.keycode == Common::KEYCODE_RETURN) {
/* If a choice has not been made yet with the mouse and the dialog has only one possible choice and carriage return was pressed on the keyboard */
_selectedDialogChoice = kDMDialogChoice1;