[Scummvm-cvs-logs] CVS: scummvm/sky text.cpp,1.65,1.66
Joost Peters
joostp at users.sourceforge.net
Sun Mar 13 05:15:42 CET 2005
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/scumm intern.h,2.393,2.394 script_v100he.cpp,2.88,2.89 script_v90he.cpp,2.183,2.184 sprite_he.cpp,1.99,1.100 sprite_he.h,1.22,1.23
- Next message: [Scummvm-cvs-logs] CVS: scummvm/scumm intern.h,2.394,2.395 script_v100he.cpp,2.89,2.90 script_v90he.cpp,2.184,2.185 sprite_he.cpp,1.100,1.101
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/scummvm/scummvm/sky
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23002/sky
Modified Files:
text.cpp
Log Message:
Fix/workaround for bug #1151924 - datafiles for the floppy version contain 'broken' string when using spanish text.
Index: text.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sky/text.cpp,v
retrieving revision 1.65
retrieving revision 1.66
diff -u -d -r1.65 -r1.66
--- text.cpp 6 Jan 2005 16:10:34 -0000 1.65
+++ text.cpp 13 Mar 2005 13:15:17 -0000 1.66
@@ -399,6 +399,13 @@
if (tmpPtr)
strcpy(tmpPtr, "MUND BEATMUNG!");
+ // work around bug #1151924 (line width exceeded when talking to gardener using spanish text)
+ // This text apparently only is broken in the floppy versions, the CD versions contain
+ // the correct string "MANIFESTACION - ARTISTICA.", which doesn't break the algorithm/game.
+ tmpPtr = strstr(textPtr, "MANIFESTACION-ARTISTICA.");
+ if (tmpPtr)
+ strcpy(tmpPtr, "MANIFESTACION - ARTISTICA.");
+
while (textChar >= 0x20) {
if ((_curCharSet == 1) && (textChar >= 0x80))
textChar = 0x20;
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/scumm intern.h,2.393,2.394 script_v100he.cpp,2.88,2.89 script_v90he.cpp,2.183,2.184 sprite_he.cpp,1.99,1.100 sprite_he.h,1.22,1.23
- Next message: [Scummvm-cvs-logs] CVS: scummvm/scumm intern.h,2.394,2.395 script_v100he.cpp,2.89,2.90 script_v90he.cpp,2.184,2.185 sprite_he.cpp,1.100,1.101
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list