From 6738870568a08788acd26a5a02ee64d07600095b Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sun, 2 Jan 2005 17:16:44 +0000 Subject: Fix for bug #1082154 (MM V2 (German): incorrect text presentation) svn-id: r16414 --- scumm/string.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scumm/string.cpp b/scumm/string.cpp index 589c4fc0a6..044d0ea135 100644 --- a/scumm/string.cpp +++ b/scumm/string.cpp @@ -388,6 +388,11 @@ loc_avoid_ks_fe: VAR(VAR_CHARCOUNT)++; } else _talkDelay += (int)VAR(VAR_CHARINC); + + // Handle line breaks for V1-V3 + if (_version <= 3 && _charset->_nextLeft >= _screenWidth) { + goto newLine; + } } } while (c != 2 && c != 3); -- cgit v1.2.3