diff options
Diffstat (limited to 'engines/wage/gui-console.cpp')
-rw-r--r-- | engines/wage/gui-console.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/wage/gui-console.cpp b/engines/wage/gui-console.cpp index c2f1753ced..e86e6ab130 100644 --- a/engines/wage/gui-console.cpp +++ b/engines/wage/gui-console.cpp @@ -81,6 +81,9 @@ void Gui::clearOutput() { } void Gui::appendText(const char *s) { +#ifdef USE_MACTEXTWINDOW + _consoleWindow->appendText(s, getConsoleMacFont()); +#else Common::String str(s); _consoleDirty = true; @@ -107,9 +110,6 @@ void Gui::appendText(const char *s) { // Process last/leftover line _out.push_back(tmp); flowText(tmp); - -#ifdef USE_MACTEXTWINDOW1 - _consoleWindow->appendText(s, getConsoleMacFont()); #endif // USE_MACTEXTWINDOW } @@ -164,7 +164,7 @@ void Gui::reflowText() { for (uint i = 0; i < _out.size(); i++) flowText(_out[i]); -#ifdef USE_MACTEXTWINDOW +#ifdef USE_MACTEXTWINDOW1 // Append _lines content to MacTextWindow after it has // been processed by flowText above _consoleWindow->clearText(); |