diff options
author | Eugene Sandulenko | 2017-08-02 17:28:22 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2017-08-04 21:54:19 +0200 |
commit | 737c2e4f88ebffd266c0dc52522122760c35f717 (patch) | |
tree | c3352ab914866960d0daae9a6e27849c578dea42 /engines | |
parent | bc8d059f38f4904af588522ebbc284ad1749f5cf (diff) | |
download | scummvm-rg350-737c2e4f88ebffd266c0dc52522122760c35f717.tar.gz scummvm-rg350-737c2e4f88ebffd266c0dc52522122760c35f717.tar.bz2 scummvm-rg350-737c2e4f88ebffd266c0dc52522122760c35f717.zip |
WAGE: Now we need to render newline at the end of each text
Diffstat (limited to 'engines')
-rw-r--r-- | engines/wage/wage.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/engines/wage/wage.cpp b/engines/wage/wage.cpp index 8d5a1e088f..13489d2712 100644 --- a/engines/wage/wage.cpp +++ b/engines/wage/wage.cpp @@ -219,7 +219,11 @@ void WageEngine::setMenu(Common::String menu) { } void WageEngine::appendText(const char *str) { - _gui->appendText(str); + Common::String s(str); + + s += '\n'; + + _gui->appendText(s.c_str()); _inputText.clear(); } |