[Scummvm-cvs-logs] CVS: scummvm/scumm script_v72he.cpp,2.58,2.59

Travis Howell kirben at users.sourceforge.net
Tue Sep 7 06:12:01 CEST 2004


Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22350/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.58
retrieving revision 2.59
diff -u -d -r2.58 -r2.59
--- script_v72he.cpp	7 Sep 2004 13:05:09 -0000	2.58
+++ script_v72he.cpp	7 Sep 2004 13:11:00 -0000	2.59
@@ -579,7 +579,8 @@
 }
 
 void ScummEngine_v72he::o72_addMessageToStack() {
-	addMessageToStack(_scriptPointer, _stringBuffer, 4096);
+	_stringLength = resStrLen(_scriptPointer) + 1;
+	addMessageToStack(_scriptPointer, _stringBuffer, _stringLength);
 
 	debug(0,"o72_addMessageToStack(\"%s\")", _scriptPointer);
 





More information about the Scummvm-git-logs mailing list