[Scummvm-cvs-logs] CVS: scummvm/scumm script_v72he.cpp,2.73,2.74

Travis Howell kirben at users.sourceforge.net
Sat Sep 11 06:48:08 CEST 2004


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

Modified Files:
	script_v72he.cpp 
Log Message:

Seems to be off by 1.


Index: script_v72he.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v72he.cpp,v
retrieving revision 2.73
retrieving revision 2.74
diff -u -d -r2.73 -r2.74
--- script_v72he.cpp	11 Sep 2004 12:22:06 -0000	2.73
+++ script_v72he.cpp	11 Sep 2004 13:47:18 -0000	2.74
@@ -1744,7 +1744,7 @@
 	int src2 = pop();
 	int src1 = pop();
 
-	size = resStrLen(getStringAddress(src1)) * 2 + 1;
+	size = resStrLen(getStringAddress(src1)) * 2 + 2;
 
 	writeVar(0, 0);
 	defineArray(0, kStringArray, 0, 0, 0, size);





More information about the Scummvm-git-logs mailing list