diff options
author | Eugene Sandulenko | 2017-08-02 20:16:48 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2017-08-04 21:54:19 +0200 |
commit | f79a7d049bb540f51c5ade053f2d4f32b7eca948 (patch) | |
tree | db64663c5db30c84ac20fec616948588b629f11c /graphics | |
parent | 94a57f534f938fd59d2cd766f77e79ff29c53f84 (diff) | |
download | scummvm-rg350-f79a7d049bb540f51c5ade053f2d4f32b7eca948.tar.gz scummvm-rg350-f79a7d049bb540f51c5ade053f2d4f32b7eca948.tar.bz2 scummvm-rg350-f79a7d049bb540f51c5ade053f2d4f32b7eca948.zip |
GRAPHICS: MACGUI: Fixed input line replacement in MacTextWindow
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/macgui/mactextwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/macgui/mactextwindow.cpp b/graphics/macgui/mactextwindow.cpp index 6d25701ad7..40bcf12494 100644 --- a/graphics/macgui/mactextwindow.cpp +++ b/graphics/macgui/mactextwindow.cpp @@ -191,7 +191,7 @@ void MacTextWindow::drawInput() { _inputTextHeight = MAX(1u, text.size()); // We always have line to clean // And add new input line to the text - appendText(_inputText, _font); + appendText(Common::String("\n" + _inputText), _font); _cursorX = _inputText.empty() ? 0 : _fontRef->getStringWidth(text[_inputTextHeight - 1]); |