aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorEugene Sandulenko2016-01-04 00:23:05 +0100
committerEugene Sandulenko2016-01-04 00:23:05 +0100
commit2c8922ed3094e20afa53861e95a0b5d97460feee (patch)
treefa5cf872da7726f94debe7a104c66e890617d7cd /engines
parent1b0d6a43048d7497bb6200b35974053693616890 (diff)
downloadscummvm-rg350-2c8922ed3094e20afa53861e95a0b5d97460feee.tar.gz
scummvm-rg350-2c8922ed3094e20afa53861e95a0b5d97460feee.tar.bz2
scummvm-rg350-2c8922ed3094e20afa53861e95a0b5d97460feee.zip
WAGE: Fix cursor position at the scroll end
Diffstat (limited to 'engines')
-rw-r--r--engines/wage/gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/wage/gui.cpp b/engines/wage/gui.cpp
index 4f451bbd1c..3d3a5025d4 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;