aboutsummaryrefslogtreecommitdiff
path: root/engines/wage/gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/wage/gui.cpp')
-rw-r--r--engines/wage/gui.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/wage/gui.cpp b/engines/wage/gui.cpp
index 02b735d9ea..5bebc396b8 100644
--- a/engines/wage/gui.cpp
+++ b/engines/wage/gui.cpp
@@ -214,7 +214,8 @@ void Gui::clearOutput() {
_consoleFullRedraw = true;
}
-void Gui::appendText(String &str) {
+void Gui::appendText(const char *s) {
+ Common::String str(s);
_consoleDirty = true;
if (!str.contains('\n')) {