aboutsummaryrefslogtreecommitdiff
path: root/queen
diff options
context:
space:
mode:
authorMax Horn2003-10-17 16:50:35 +0000
committerMax Horn2003-10-17 16:50:35 +0000
commit8ab81c25339770912ea96680ff65e55d8f1c6236 (patch)
treecde251aefdc128907f788568d786e315e685279c /queen
parent0279ace9aee72d2d3c70e53a2491036e6b3ddadf (diff)
downloadscummvm-rg350-8ab81c25339770912ea96680ff65e55d8f1c6236.tar.gz
scummvm-rg350-8ab81c25339770912ea96680ff65e55d8f1c6236.tar.bz2
scummvm-rg350-8ab81c25339770912ea96680ff65e55d8f1c6236.zip
fix warning
svn-id: r10873
Diffstat (limited to 'queen')
-rw-r--r--queen/talk.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/queen/talk.cpp b/queen/talk.cpp
index 69ab528b1f..eaa36338b0 100644
--- a/queen/talk.cpp
+++ b/queen/talk.cpp
@@ -1208,8 +1208,9 @@ void Talk::makeSpeakBob(
int line_count = 0;
int word_count = 0;
int line_length = 0;
+ int i;
- for (int i = 0; i < length; i++) {
+ for (i = 0; i < length; i++) {
if (textCopy[i] == ' ')
word_count++;