aboutsummaryrefslogtreecommitdiff
path: root/engines/agi/agi.h
diff options
context:
space:
mode:
authorWillem Jan Palenstijn2012-01-06 11:20:46 +0100
committerWillem Jan Palenstijn2012-01-06 11:22:06 +0100
commit43e2fde7a951d362ab06f20bc043698f0e1e47c3 (patch)
tree737c2d0eb6f9e9156212045c96dcbdb0e94b4a9e /engines/agi/agi.h
parent41ba2433f57f064f3119b5b5c1247eadb32d5977 (diff)
downloadscummvm-rg350-43e2fde7a951d362ab06f20bc043698f0e1e47c3.tar.gz
scummvm-rg350-43e2fde7a951d362ab06f20bc043698f0e1e47c3.tar.bz2
scummvm-rg350-43e2fde7a951d362ab06f20bc043698f0e1e47c3.zip
AGI: Fix ignoring some exact matches in predictive input
The matcher now always tries an exact match before trying an inexact one. Together with 41ba2433f, this fixes bug #3470080.
Diffstat (limited to 'engines/agi/agi.h')
-rw-r--r--engines/agi/agi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/agi/agi.h b/engines/agi/agi.h
index e9923aba2e..28403964dd 100644
--- a/engines/agi/agi.h
+++ b/engines/agi/agi.h
@@ -1085,7 +1085,7 @@ private:
void blitTextbox(const char *p, int y, int x, int len);
void eraseTextbox();
void loadDict();
- bool matchWord();
+ bool matchWord(bool onlyExact = false);
// Predictive dialog
// TODO: Move this to a separate class