diff options
Diffstat (limited to 'queen/talk.cpp')
-rw-r--r-- | queen/talk.cpp | 3 |
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++; |