diff options
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 |