[Scummvm-cvs-logs] SF.net SVN: scummvm: [21731] scummvm/trunk/engines/simon/charset.cpp
eriktorbjorn at users.sourceforge.net
eriktorbjorn at users.sourceforge.net
Sun Apr 9 10:42:02 CEST 2006
Revision: 21731
Author: eriktorbjorn
Date: 2006-04-09 10:41:44 -0700 (Sun, 09 Apr 2006)
ViewCVS: http://svn.sourceforge.net/scummvm/?rev=21731&view=rev
Log Message:
-----------
Fixed excess line breaks in FF when listing the Oracle's ENCY articles.
Modified Paths:
--------------
scummvm/trunk/engines/simon/charset.cpp
Modified: scummvm/trunk/engines/simon/charset.cpp
===================================================================
--- scummvm/trunk/engines/simon/charset.cpp 2006-04-09 15:34:14 UTC (rev 21730)
+++ scummvm/trunk/engines/simon/charset.cpp 2006-04-09 17:41:44 UTC (rev 21731)
@@ -317,9 +317,9 @@
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) {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list