diff options
author | Max Horn | 2005-06-17 20:23:12 +0000 |
---|---|---|
committer | Max Horn | 2005-06-17 20:23:12 +0000 |
commit | b03de44db456d6ea4c578a3b6c8c423e41cda0d7 (patch) | |
tree | 61b59df96fce107188fee6f7003e35d187714a8d /scumm/charset.cpp | |
parent | e3b40b5c24b676ed67c39891dff2b41ee9300f98 (diff) | |
download | scummvm-rg350-b03de44db456d6ea4c578a3b6c8c423e41cda0d7.tar.gz scummvm-rg350-b03de44db456d6ea4c578a3b6c8c423e41cda0d7.tar.bz2 scummvm-rg350-b03de44db456d6ea4c578a3b6c8c423e41cda0d7.zip |
Handle newlines in blast text (fixes last remaining part of bug #902415)
svn-id: r18408
Diffstat (limited to 'scumm/charset.cpp')
-rw-r--r-- | scumm/charset.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/charset.cpp b/scumm/charset.cpp index da909900a4..8ff53a2b51 100644 --- a/scumm/charset.cpp +++ b/scumm/charset.cpp @@ -311,7 +311,7 @@ int CharsetRenderer::getStringWidth(int arg, const byte *text) { break; } else if (chr == '@') continue; - if (chr == 0xD) + if (chr == '\n' || chr == '\r') break; if (chr == 254 || chr == 255) { //process in LE |