aboutsummaryrefslogtreecommitdiff
path: root/engines/agi
diff options
context:
space:
mode:
authorLars Persson2007-06-08 18:09:24 +0000
committerLars Persson2007-06-08 18:09:24 +0000
commita3e8f765a6be500357b99d693b21266dbc428137 (patch)
treeba651362f41b2be193a260fb5058c637ef9c0fb8 /engines/agi
parent1255681d0d4b52cd5a5d3b62666f6f3e2ab4e1de (diff)
downloadscummvm-rg350-a3e8f765a6be500357b99d693b21266dbc428137.tar.gz
scummvm-rg350-a3e8f765a6be500357b99d693b21266dbc428137.tar.bz2
scummvm-rg350-a3e8f765a6be500357b99d693b21266dbc428137.zip
Updated Symbian OS Prediction handling
Updated AGI to only enable predictive input after dictionary was found. svn-id: r27206
Diffstat (limited to 'engines/agi')
-rw-r--r--engines/agi/predictive.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/agi/predictive.cpp b/engines/agi/predictive.cpp
index 5bc70ef072..605f135f67 100644
--- a/engines/agi/predictive.cpp
+++ b/engines/agi/predictive.cpp
@@ -121,9 +121,6 @@ bool AgiEngine::predictiveDialog(void) {
bool navigationwithkeys = false;
bool processkey;
- _predictiveDialogRunning = true;
- _system->setFeatureState(OSystem::kFeatureDisableKeyFiltering, true);
-
// FIXME: Move this to a more appropriate place.
initAsciiToNumTable();
@@ -153,6 +150,9 @@ bool AgiEngine::predictiveDialog(void) {
if (!_searchTreeRoot)
return false;
}
+
+ _predictiveDialogRunning = true;
+ _system->setFeatureState(OSystem::kFeatureDisableKeyFiltering, true);
memset(repeatcount, 0, MAXWORDLEN);