aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/agi/predictive.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/agi/predictive.cpp b/engines/agi/predictive.cpp
index 605f135f67..f70953b5d4 100644
--- a/engines/agi/predictive.cpp
+++ b/engines/agi/predictive.cpp
@@ -396,8 +396,7 @@ bool AgiEngine::predictiveDialog(void) {
_currentCode.clear();
_currentWord.clear();
memset(repeatcount, 0, MAXWORDLEN);
- break;
- } if (active < 9 || active == 11 || active == 15) { // number or backspace
+ } else if (active < 9 || active == 11 || active == 15) { // number or backspace
if (active == 11) { // backspace
if (_currentCode.size()) {
repeatcount[_currentCode.size() - 1] = 0;