diff options
author | Max Horn | 2005-01-02 17:16:44 +0000 |
---|---|---|
committer | Max Horn | 2005-01-02 17:16:44 +0000 |
commit | 6738870568a08788acd26a5a02ee64d07600095b (patch) | |
tree | 9181ec2289117bfa13d2f501c1cdaaf8077fbbad | |
parent | 5781d296b8d3355157d5b2a2ecd4c7d1702345db (diff) | |
download | scummvm-rg350-6738870568a08788acd26a5a02ee64d07600095b.tar.gz scummvm-rg350-6738870568a08788acd26a5a02ee64d07600095b.tar.bz2 scummvm-rg350-6738870568a08788acd26a5a02ee64d07600095b.zip |
Fix for bug #1082154 (MM V2 (German): incorrect text presentation)
svn-id: r16414
-rw-r--r-- | scumm/string.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
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); |