From 88b9335b275cf8f3761aba917f710073f5db58bc Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Tue, 7 Sep 2004 13:11:00 +0000 Subject: [PATCH] Ooops svn-id: r14943 --- scumm/script_v72he.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scumm/script_v72he.cpp b/scumm/script_v72he.cpp index 570e34cf333..48a3e0262ba 100644 --- a/scumm/script_v72he.cpp +++ b/scumm/script_v72he.cpp @@ -579,7 +579,8 @@ void ScummEngine_v72he::o72_pushDWord() { } void ScummEngine_v72he::o72_addMessageToStack() { - addMessageToStack(_scriptPointer, _stringBuffer, 4096); + _stringLength = resStrLen(_scriptPointer) + 1; + addMessageToStack(_scriptPointer, _stringBuffer, _stringLength); debug(0,"o72_addMessageToStack(\"%s\")", _scriptPointer);