diff options
author | D G Turner | 2011-06-08 03:13:13 +0100 |
---|---|---|
committer | D G Turner | 2011-06-08 03:13:13 +0100 |
commit | dbaf9e49c7358a2cdcee396bfe3381fd5571a30c (patch) | |
tree | b2dab2418c2fd81d6e5d2dd339c218903581ca53 | |
parent | d6e23ac67b23b850147f519a88b9230997d9c877 (diff) | |
download | scummvm-rg350-dbaf9e49c7358a2cdcee396bfe3381fd5571a30c.tar.gz scummvm-rg350-dbaf9e49c7358a2cdcee396bfe3381fd5571a30c.tar.bz2 scummvm-rg350-dbaf9e49c7358a2cdcee396bfe3381fd5571a30c.zip |
AGI: Fix Broken Predictive Text Input.
This was a regression introduced by
4b2f92b5e56a1fc273c8c8d2e69b747f938ea92f (r55135)
-rw-r--r-- | engines/agi/predictive.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/agi/predictive.cpp b/engines/agi/predictive.cpp index 80e89f410b..e45a5a8209 100644 --- a/engines/agi/predictive.cpp +++ b/engines/agi/predictive.cpp @@ -573,8 +573,10 @@ bool AgiEngine::matchWord() { hi = line - 1; else if (cmpVal < 0) lo = line + 1; - else + else { hi = line; + break; + } } _currentWord.clear(); |