[Scummvm-cvs-logs] CVS: scummvm/scumm script_v72he.cpp,2.43,2.44

Travis Howell kirben at users.sourceforge.net
Sat Sep 4 02:18:10 CEST 2004


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

Modified Files:
	script_v72he.cpp 
Log Message:

Ooops


Index: script_v72he.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v72he.cpp,v
retrieving revision 2.43
retrieving revision 2.44
diff -u -d -r2.43 -r2.44
--- script_v72he.cpp	4 Sep 2004 08:13:47 -0000	2.43
+++ script_v72he.cpp	4 Sep 2004 09:17:38 -0000	2.44
@@ -1097,7 +1097,7 @@
 	byte filename[100];
 
 	mode = pop();
-	copyScriptString(filename);
+	copyScriptString(filename, true);
 	debug(1,"File %s", filename);
 	
 	for (r = strlen((char*)filename); r != 0; r--) {
@@ -1369,7 +1369,7 @@
 	}
 
 	writeVar(0, array);
-	while (len <= pos) {
+	while (pos <= len) {
 		letter = readArray(0, 0, pos);
 		if (letter)
 			result += getCharsetOffset(letter);





More information about the Scummvm-git-logs mailing list