[Scummvm-cvs-logs] SF.net SVN: scummvm: [22230] scummvm/trunk/engines/sky/text.cpp
eriktorbjorn at users.sourceforge.net
eriktorbjorn at users.sourceforge.net
Sat Apr 29 10:51:06 CEST 2006
Revision: 22230
Author: eriktorbjorn
Date: 2006-04-29 10:50:15 -0700 (Sat, 29 Apr 2006)
ViewCVS: http://svn.sourceforge.net/scummvm/?rev=22230&view=rev
Log Message:
-----------
Fixed bug #1478911 ("BASS regression: garbled text") by making skipBytes uint16
instead of uint8. (It used to be uint32, but anything that can hold 0x03F8
should be large enough.)
Modified Paths:
--------------
scummvm/trunk/engines/sky/text.cpp
Modified: scummvm/trunk/engines/sky/text.cpp
===================================================================
--- scummvm/trunk/engines/sky/text.cpp 2006-04-29 16:51:29 UTC (rev 22229)
+++ scummvm/trunk/engines/sky/text.cpp 2006-04-29 17:50:15 UTC (rev 22230)
@@ -343,7 +343,7 @@
if (textNr) {
uint8 *blockPtr = textDataPtr + blockNr + READ_LE_UINT16(textDataPtr);
do {
- uint8 skipBytes = *blockPtr++;
+ uint16 skipBytes = *blockPtr++;
if (skipBytes & 0x80) {
skipBytes &= 0x7F;
skipBytes <<= 3;
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