From e7eb7ffc810aed64ad3837484f3a5c0bfa001d65 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Mon, 4 Jan 2016 11:17:51 +0100 Subject: WAGE: Further fixes to cursor position --- engines/wage/gui.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/wage') diff --git a/engines/wage/gui.cpp b/engines/wage/gui.cpp index 837632a520..01ae5b6914 100644 --- a/engines/wage/gui.cpp +++ b/engines/wage/gui.cpp @@ -430,10 +430,10 @@ void Gui::flowText(String &str) { int pos = _scrollPos; _scrollPos = MAX(0, (_lines.size() - _consoleNumLines) * _consoleLineHeight); - _cursorX = kConHPadding; + _cursorX = kConWPadding; if (_scrollPos) - _cursorY = (_consoleNumLines + 1) * _consoleLineHeight + kConHPadding; + _cursorY = (_consoleNumLines) * _consoleLineHeight + kConHPadding; else _cursorY = (_lines.size()) * _consoleLineHeight + kConHPadding; -- cgit v1.2.3