aboutsummaryrefslogtreecommitdiff
path: root/engines/cge/text.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/cge/text.cpp')
-rw-r--r--engines/cge/text.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/cge/text.cpp b/engines/cge/text.cpp
index 021fa1a574..1f2f696f8c 100644
--- a/engines/cge/text.cpp
+++ b/engines/cge/text.cpp
@@ -67,10 +67,9 @@ int16 Text::count() {
Common::String line;
char tmpStr[kLineMax + 1];
- int n, counter = 0;
+ int counter = 0;
for (line = tf.readLine(); !tf.eos(); line = tf.readLine()) {
- n = line.size();
char *s;
strcpy(tmpStr, line.c_str());