[Scummvm-cvs-logs] CVS: scummvm/scumm script_v72he.cpp,2.82,2.83

Travis Howell kirben at users.sourceforge.net
Sun Sep 12 19:25:01 CEST 2004


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

Modified Files:
	script_v72he.cpp 
Log Message:

Corect size.


Index: script_v72he.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v72he.cpp,v
retrieving revision 2.82
retrieving revision 2.83
diff -u -d -r2.82 -r2.83
--- script_v72he.cpp	13 Sep 2004 02:09:35 -0000	2.82
+++ script_v72he.cpp	13 Sep 2004 02:24:28 -0000	2.83
@@ -1799,7 +1799,8 @@
 	int src2 = pop();
 	int src1 = pop();
 
-	size = resStrLen(getStringAddress(src1)) * 2 + 2;
+	size = resStrLen(getStringAddress(src1));
+	size += resStrLen(getStringAddress(src2)) + 1;
 
 	writeVar(0, 0);
 	defineArray(0, kStringArray, 0, 0, 0, size);





More information about the Scummvm-git-logs mailing list