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.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/engines/wage/wage.cpp b/engines/wage/wage.cpp
index 12f4262965..5ea1e3b314 100644
--- a/engines/wage/wage.cpp
+++ b/engines/wage/wage.cpp
@@ -172,6 +172,7 @@ void WageEngine::processEvents() {
processTurn(&_inputText, NULL);
_inputText = "";
+ _gui->appendText("");
break;
default:
@@ -208,14 +209,10 @@ void WageEngine::setMenu(Common::String menu) {
}
void WageEngine::appendText(const char *str) {
- if (_inputText.size()) {
- _inputText += '\n';
- _gui->drawInput();
+ _gui->appendText(str);
+ if (_inputText.size())
_inputText = "";
- }
-
- _gui->appendText(str);
}
void WageEngine::gameOver() {