[Scummvm-git-logs] scummvm master -> 07ef996c3b969effe829d0fd2d6d34a0f3588471

dreammaster dreammaster at scummvm.org
Fri Mar 23 03:56:25 CET 2018


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
07ef996c3b XEEN: Fix reading entirety of message in Vertigo warehouse


Commit: 07ef996c3b969effe829d0fd2d6d34a0f3588471
    https://github.com/scummvm/scummvm/commit/07ef996c3b969effe829d0fd2d6d34a0f3588471
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2018-03-22T22:56:21-04:00

Commit Message:
XEEN: Fix reading entirety of message in Vertigo warehouse

Changed paths:
    engines/xeen/font.cpp


diff --git a/engines/xeen/font.cpp b/engines/xeen/font.cpp
index 58381e1..5cb2937 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();





More information about the Scummvm-git-logs mailing list