diff options
author | Torbjörn Andersson | 2006-04-09 17:41:44 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2006-04-09 17:41:44 +0000 |
commit | ef8426ee17afd21b5406ae06b9d45525cdceb73f (patch) | |
tree | e2a31ec2b0355f2c9c78986ad71bcbeaa59f01bd /engines | |
parent | 468480209183f4fc05bfd1395ec70f07d600fe83 (diff) | |
download | scummvm-rg350-ef8426ee17afd21b5406ae06b9d45525cdceb73f.tar.gz scummvm-rg350-ef8426ee17afd21b5406ae06b9d45525cdceb73f.tar.bz2 scummvm-rg350-ef8426ee17afd21b5406ae06b9d45525cdceb73f.zip |
Fixed excess line breaks in FF when listing the Oracle's ENCY articles.
svn-id: r21731
Diffstat (limited to 'engines')
-rw-r--r-- | engines/simon/charset.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/simon/charset.cpp b/engines/simon/charset.cpp index 340c5ac0a5..84f31bdf09 100644 --- a/engines/simon/charset.cpp +++ b/engines/simon/charset.cpp @@ -317,9 +317,9 @@ void SimonEngine::showmessage_print_char(byte chr) { print_char_helper_1(&chr, 1); print_char_helper_5(_textWindow); } else if (chr == 0 || chr == ' ' || chr == 10) { - uint count = (getGameType() == GType_FF) ? _printCharPixelCount - 1 : _numLettersToPrint; - if (_printCharMaxPos - _printCharCurPos >= count) { - _printCharCurPos += (getGameType() == GType_FF) ? _printCharPixelCount : _numLettersToPrint; + uint count = (getGameType() == GType_FF) ? _printCharPixelCount : _numLettersToPrint; + if (_printCharMaxPos - _printCharCurPos > /* count */_printCharPixelCount) { + _printCharCurPos += count; print_char_helper_1(_lettersToPrintBuf, _numLettersToPrint); if (_printCharCurPos == _printCharMaxPos) { |