aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Howell2004-09-13 02:24:28 +0000
committerTravis Howell2004-09-13 02:24:28 +0000
commita14bdf55105d1a2baaf8b46d30efe0f714dd6d1d (patch)
tree725d4c6f5e2539230aeaeda5379deb65ee9ab1d9
parent3573ad8dc5ef03c513ead11a0775c1270dfa6e57 (diff)
downloadscummvm-rg350-a14bdf55105d1a2baaf8b46d30efe0f714dd6d1d.tar.gz
scummvm-rg350-a14bdf55105d1a2baaf8b46d30efe0f714dd6d1d.tar.bz2
scummvm-rg350-a14bdf55105d1a2baaf8b46d30efe0f714dd6d1d.zip
Corect size.
svn-id: r15083
-rw-r--r--scumm/script_v72he.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/scumm/script_v72he.cpp b/scumm/script_v72he.cpp
index ab25822a47..85355c3a8c 100644
--- a/scumm/script_v72he.cpp
+++ b/scumm/script_v72he.cpp
@@ -1799,7 +1799,8 @@ void ScummEngine_v72he::o72_unknownF0() {
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);