diff options
author | Eugene Sandulenko | 2016-01-04 11:17:51 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2016-01-04 11:17:51 +0100 |
commit | e7eb7ffc810aed64ad3837484f3a5c0bfa001d65 (patch) | |
tree | c03c0ae3e7758d43800741b7f0f29d5923948879 /engines/wage | |
parent | 5cffbed146eaf21be4cb1bb1bf3939e2da7e2c1c (diff) | |
download | scummvm-rg350-e7eb7ffc810aed64ad3837484f3a5c0bfa001d65.tar.gz scummvm-rg350-e7eb7ffc810aed64ad3837484f3a5c0bfa001d65.tar.bz2 scummvm-rg350-e7eb7ffc810aed64ad3837484f3a5c0bfa001d65.zip |
WAGE: Further fixes to cursor position
Diffstat (limited to 'engines/wage')
-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 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<int>(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; |