aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2017-08-02 23:00:48 +0200
committerEugene Sandulenko2017-08-04 21:54:19 +0200
commite316fb4b163dcf1f7250d26fddf6536470a7bf62 (patch)
tree83083735b8c6efe2904dddc9bd6eed8cfb138e03
parentd4207b1e62761d6bc43d3f6078ea5e895b3b09f3 (diff)
downloadscummvm-rg350-e316fb4b163dcf1f7250d26fddf6536470a7bf62.tar.gz
scummvm-rg350-e316fb4b163dcf1f7250d26fddf6536470a7bf62.tar.bz2
scummvm-rg350-e316fb4b163dcf1f7250d26fddf6536470a7bf62.zip
GRAPHICS: MACGUI: Do not pass to the upstream backspace key event in MacTextWindow
-rw-r--r--graphics/macgui/mactextwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/macgui/mactextwindow.cpp b/graphics/macgui/mactextwindow.cpp
index 8d736d4158..d3a18224db 100644
--- a/graphics/macgui/mactextwindow.cpp
+++ b/graphics/macgui/mactextwindow.cpp
@@ -163,7 +163,7 @@ bool MacTextWindow::processEvent(Common::Event &event) {
_inputText.deleteLastChar();
_inputIsDirty = true;
}
- break;
+ return true;
case Common::KEYCODE_RETURN:
undrawInput();