aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/xeen/font.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/xeen/font.cpp b/engines/xeen/font.cpp
index 58381e1516..5cb2937df7 100644
--- a/engines/xeen/font.cpp
+++ b/engines/xeen/font.cpp
@@ -218,7 +218,7 @@ const char *FontSurface::writeString(const Common::String &s, const Common::Rect
} else if (c == 10) {
// Newline
if (newLine(bounds))
- break;
+ return _displayString;
} else if (c == 11) {
// Set y position
int yp = fontAtoi();