From 43e2fde7a951d362ab06f20bc043698f0e1e47c3 Mon Sep 17 00:00:00 2001 From: Willem Jan Palenstijn Date: Fri, 6 Jan 2012 11:20:46 +0100 Subject: 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. --- engines/agi/agi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/agi/agi.h') 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 -- cgit v1.2.3