[Scummvm-cvs-logs] CVS: scummvm/sky text.cpp,1.62,1.62.2.1

Joost Peters joostp at users.sourceforge.net
Sun Mar 13 05:25:57 CET 2005


Update of /cvsroot/scummvm/scummvm/sky
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25582/sky

Modified Files:
      Tag: branch-0-7-0
	text.cpp 
Log Message:
backport workaround for bug in spanish gamedata (#1151924)


Index: text.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sky/text.cpp,v
retrieving revision 1.62
retrieving revision 1.62.2.1
diff -u -d -r1.62 -r1.62.2.1
--- text.cpp	11 Nov 2004 10:14:35 -0000	1.62
+++ text.cpp	13 Mar 2005 13:25:03 -0000	1.62.2.1
@@ -397,6 +397,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;





More information about the Scummvm-git-logs mailing list