aboutsummaryrefslogtreecommitdiff
path: root/engines/wage/wage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/wage/wage.cpp')
-rw-r--r--engines/wage/wage.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/engines/wage/wage.cpp b/engines/wage/wage.cpp
index c1d70331ff..1c9a9828aa 100644
--- a/engines/wage/wage.cpp
+++ b/engines/wage/wage.cpp
@@ -209,10 +209,12 @@ void WageEngine::setMenu(Common::String menu) {
}
void WageEngine::appendText(const char *str) {
- if (_inputText.size())
- _gui->appendText(_inputText.c_str());
+ if (_inputText.size()) {
+ _inputText += '\n';
+ _gui->drawInput();
- _inputText = "";
+ _inputText = "";
+ }
_gui->appendText(str);
}