[Scummvm-cvs-logs] scummvm master -> dbaf9e49c7358a2cdcee396bfe3381fd5571a30c
digitall
digitall at scummvm.org
Wed Jun 8 04:18:37 CEST 2011
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
dbaf9e49c7 AGI: Fix Broken Predictive Text Input.
Commit: dbaf9e49c7358a2cdcee396bfe3381fd5571a30c
https://github.com/scummvm/scummvm/commit/dbaf9e49c7358a2cdcee396bfe3381fd5571a30c
Author: D G Turner (digitall at scummvm.org)
Date: 2011-06-07T19:13:13-07:00
Commit Message:
AGI: Fix Broken Predictive Text Input.
This was a regression introduced by
4b2f92b5e56a1fc273c8c8d2e69b747f938ea92f (r55135)
Changed paths:
engines/agi/predictive.cpp
diff --git a/engines/agi/predictive.cpp b/engines/agi/predictive.cpp
index 80e89f4..e45a5a8 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();
More information about the Scummvm-git-logs
mailing list