aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/kyra/text_v2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/text_v2.h b/engines/kyra/text_v2.h
index 88d446e7ec..eb697b963b 100644
--- a/engines/kyra/text_v2.h
+++ b/engines/kyra/text_v2.h
@@ -42,7 +42,7 @@ public:
void restoreScreen();
char *preprocessString(const char *str);
- void calcWidestLineBounds(int &x1, int &x1, int w, int x);
+ void calcWidestLineBounds(int &x1, int &x2, int w, int x);
private:
KyraEngine_v2 *_vm;
};