aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2018-03-22 22:56:21 -0400
committerPaul Gilbert2018-03-22 22:56:21 -0400
commit07ef996c3b969effe829d0fd2d6d34a0f3588471 (patch)
tree9a72d6bf7cc2dcd73e8fc8b652b211078fc9fbae
parent6a3e1297d1e4b661b34807b3967d4f7360b39157 (diff)
downloadscummvm-rg350-07ef996c3b969effe829d0fd2d6d34a0f3588471.tar.gz
scummvm-rg350-07ef996c3b969effe829d0fd2d6d34a0f3588471.tar.bz2
scummvm-rg350-07ef996c3b969effe829d0fd2d6d34a0f3588471.zip
XEEN: Fix reading entirety of message in Vertigo warehouse
-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();