[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


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;





More information about the Scummvm-git-logs mailing list