aboutsummaryrefslogtreecommitdiff
path: root/engines/agi/predictive.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/agi/predictive.cpp')
-rw-r--r--engines/agi/predictive.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/agi/predictive.cpp b/engines/agi/predictive.cpp
index 94b2581ae3..7f41c27a6a 100644
--- a/engines/agi/predictive.cpp
+++ b/engines/agi/predictive.cpp
@@ -552,7 +552,7 @@ bool AgiEngine::matchWord(void) {
return false;
}
// Lookup word in the dictionary
- int line, span, cmpRes, len;
+ int line = 0, span, cmpRes, len;
char target[MAXWORDLEN];
strncpy(target, _currentCode.c_str(), MAXWORDLEN);