diff options
author | Colin Snover | 2016-10-09 11:41:52 -0500 |
---|---|---|
committer | Colin Snover | 2016-10-09 11:41:52 -0500 |
commit | 6cc761e72850320e89d3136da4b4ec686fd784db (patch) | |
tree | 58ff812dd7a0375ccdd349430b5a8b3fc83e33fe | |
parent | 832979c2db8d42160887299ffe3d4666f1a7d445 (diff) | |
download | scummvm-rg350-6cc761e72850320e89d3136da4b4ec686fd784db.tar.gz scummvm-rg350-6cc761e72850320e89d3136da4b4ec686fd784db.tar.bz2 scummvm-rg350-6cc761e72850320e89d3136da4b4ec686fd784db.zip |
SCI32: Allow 'focused' variable to break out of the event loop
-rw-r--r-- | engines/sci/graphics/controls32.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/engines/sci/graphics/controls32.cpp b/engines/sci/graphics/controls32.cpp index 4ec534fd8a..0cd924b38d 100644 --- a/engines/sci/graphics/controls32.cpp +++ b/engines/sci/graphics/controls32.cpp @@ -160,7 +160,6 @@ reg_t GfxControls32::kernelEditText(const reg_t controlObject) { // Original engine did not have a QUIT event but we have to handle it if (event.type == SCI_EVENT_QUIT) { focused = false; - break; } else if (event.type == SCI_EVENT_MOUSE_PRESS && !editorPlaneRect.contains(event.mousePosSci)) { focused = false; } else if (event.type == SCI_EVENT_KEYBOARD) { |