diff options
author | Eugene Sandulenko | 2008-08-02 21:36:08 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2008-08-02 21:36:08 +0000 |
commit | 39449357af4b443d4ee9247ae800db7619d54870 (patch) | |
tree | 4922dba996e28bd4e4a720cb9cb506ffb1651c34 /engines/scumm/string.cpp | |
parent | 7e808d771434f893f67e8c64d95f826614c46594 (diff) | |
download | scummvm-rg350-39449357af4b443d4ee9247ae800db7619d54870.tar.gz scummvm-rg350-39449357af4b443d4ee9247ae800db7619d54870.tar.bz2 scummvm-rg350-39449357af4b443d4ee9247ae800db7619d54870.zip |
Fix bug #2023727: "MONKEY2: Misplaced Text"
svn-id: r33544
Diffstat (limited to 'engines/scumm/string.cpp')
-rw-r--r-- | engines/scumm/string.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/scumm/string.cpp b/engines/scumm/string.cpp index f039e2ca23..700632e4b3 100644 --- a/engines/scumm/string.cpp +++ b/engines/scumm/string.cpp @@ -279,7 +279,7 @@ bool ScummEngine::handleNextCharsetCode(Actor *a, int *code) { } c = *buffer++; - if (c == _newLineCharacter) { + if (_newLineCharacter != 0 && c == _newLineCharacter) { c = 13; break; } |