diff options
-rw-r--r-- | engines/wage/gui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/wage/gui.cpp b/engines/wage/gui.cpp index f9c5d128d5..2ea8e82912 100644 --- a/engines/wage/gui.cpp +++ b/engines/wage/gui.cpp @@ -713,7 +713,7 @@ int Gui::calcTextX(int x, int textLine) { const Graphics::Font *font = getConsoleFont(); Common::String str = _lines[textLine]; - x -= _consoleTextArea.left + kConWOverlap + kConWPadding; + x -= _consoleTextArea.left; for (int i = str.size(); i >= 0; i--) { if (font->getStringWidth(str) < x) { @@ -727,7 +727,7 @@ int Gui::calcTextX(int x, int textLine) { } int Gui::calcTextY(int y) { - y -= _consoleTextArea.top + kConHOverlap + kConHPadding; + y -= _consoleTextArea.top; if (y < 0) y = 0; |