aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorEugene Sandulenko2017-07-31 21:03:32 +0200
committerEugene Sandulenko2017-08-01 10:42:22 +0200
commit63e9f41f4e1a10574e999cac63f1b1c5351037d3 (patch)
tree0a5b5c8a6e956e4a6cf23b442be9207de6e1cfa0 /engines
parentf7ba4f1b0baeafba04a736bbe8f1249884a0d21a (diff)
downloadscummvm-rg350-63e9f41f4e1a10574e999cac63f1b1c5351037d3.tar.gz
scummvm-rg350-63e9f41f4e1a10574e999cac63f1b1c5351037d3.tar.bz2
scummvm-rg350-63e9f41f4e1a10574e999cac63f1b1c5351037d3.zip
WAGE: Simplified text adding to MacTextWindow
Diffstat (limited to 'engines')
-rw-r--r--engines/wage/gui-console.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/engines/wage/gui-console.cpp b/engines/wage/gui-console.cpp
index 5b61318afb..16da99f996 100644
--- a/engines/wage/gui-console.cpp
+++ b/engines/wage/gui-console.cpp
@@ -108,11 +108,8 @@ void Gui::appendText(const char *s) {
_out.push_back(tmp);
flowText(tmp);
-#ifdef USE_MACTEXTWINDOW
- // Append _lines content to MacTextWindow after it has
- // been processed by flowText above
- for (uint line = 0; line < _lines.size(); ++line)
- _consoleWindow->appendText(_lines[line], getConsoleMacFont());
+#ifdef USE_MACTEXTWINDOW1
+ _consoleWindow->appendText(s, getConsoleMacFont());
#endif // USE_MACTEXTWINDOW
}