aboutsummaryrefslogtreecommitdiff
path: root/engines/agi
diff options
context:
space:
mode:
authorKostas Nakos2007-06-09 11:07:23 +0000
committerKostas Nakos2007-06-09 11:07:23 +0000
commit1243fc11451c5ef30fefb12887ba32a9a9481233 (patch)
tree0a8fbc62abd2ff4bda2dc0b6f76682867c3f7e9d /engines/agi
parent80432ef36a514065a190290a7bacc456996cc486 (diff)
downloadscummvm-rg350-1243fc11451c5ef30fefb12887ba32a9a9481233.tar.gz
scummvm-rg350-1243fc11451c5ef30fefb12887ba32a9a9481233.tar.bz2
scummvm-rg350-1243fc11451c5ef30fefb12887ba32a9a9481233.zip
oops
svn-id: r27246
Diffstat (limited to 'engines/agi')
-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;