[Scummvm-cvs-logs] CVS: scummvm/scumm string.cpp,1.83,1.84

Jonathan Gray khalek at users.sourceforge.net
Mon Feb 3 07:50:57 CET 2003


Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv26539

Modified Files:
	string.cpp 
Log Message:
change translateText as per erik's patch, although if this is failing because the text is already translated we should probably be avoiding calling translateText multiple times for the same strings in the first place

Index: string.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/string.cpp,v
retrieving revision 1.83
retrieving revision 1.84
diff -u -d -r1.83 -r1.84
--- string.cpp	31 Jan 2003 07:15:53 -0000	1.83
+++ string.cpp	3 Feb 2003 15:38:54 -0000	1.84
@@ -852,7 +852,7 @@
 			for (;;) {
 				if(buf[pos] == 0) {
 					trans_buff[0] = '\0';
-					return;
+					break;
 				}
 				l = 0;
 				do {





More information about the Scummvm-git-logs mailing list