aboutsummaryrefslogtreecommitdiff
path: root/engines/saga/interface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/saga/interface.cpp')
-rw-r--r--engines/saga/interface.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/saga/interface.cpp b/engines/saga/interface.cpp
index c663313f01..9dcc8d9137 100644
--- a/engines/saga/interface.cpp
+++ b/engines/saga/interface.cpp
@@ -1169,6 +1169,7 @@ void Interface::processStatusTextInput(Common::KeyState keystate) {
}
_statusTextInputPos--;
_statusTextInputString[_statusTextInputPos] = 0;
+ break;
default:
if (_statusTextInputPos >= STATUS_TEXT_INPUT_MAX - 1) { // -1 because of the null termination
break;
@@ -1202,6 +1203,7 @@ bool Interface::processTextInput(Common::KeyState keystate) {
break;
}
_textInputPos--;
+ // fall through
case Common::KEYCODE_DELETE:
if (_textInputPos <= _textInputStringLength) {
if (_textInputPos != 1) {