Workaround for bug #864030 (COMI: ASCII 0xb (11) not handled)

svn-id: r13621
This commit is contained in:
Max Horn 2004-04-25 13:34:19 +00:00
parent e39cfbd864
commit f9cd78cedd
2 changed files with 9 additions and 3 deletions

View file

@ -191,6 +191,14 @@ void ScummEngine::CHARSET_1() {
_keepText = false;
break;
}
// FIXME: This is a workaround for bug #864030: In COMI, some text
// contains ASCII character 11 = 0xB. It's not quite clear what it is
// good for; so for now we just ignore it, which seems to match the
// original engine (BTW, traditionally, this is a 'vertical tab').
if (c == 0x0B)
continue;
if (c == 13) {
newLine:;
_charset->_nextLeft = _string[0].xpos;