From 2c8922ed3094e20afa53861e95a0b5d97460feee Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Mon, 4 Jan 2016 00:23:05 +0100 Subject: [PATCH] WAGE: Fix cursor position at the scroll end --- engines/wage/gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engines/wage/gui.cpp b/engines/wage/gui.cpp index 4f451bbd1c2..3d3a5025d42 100644 --- a/engines/wage/gui.cpp +++ b/engines/wage/gui.cpp @@ -433,7 +433,7 @@ void Gui::flowText(String &str) { _cursorX = kConHPadding; if (_scrollPos) - _cursorY = (_consoleNumLines) * _consoleLineHeight; + _cursorY = (_consoleNumLines + 1) * _consoleLineHeight; else _cursorY = (_lines.size()) * _consoleLineHeight;