aboutsummaryrefslogtreecommitdiff
path: root/scumm/script_v7he.cpp
diff options
context:
space:
mode:
authorTravis Howell2005-04-13 11:03:23 +0000
committerTravis Howell2005-04-13 11:03:23 +0000
commitd8467268c4a447c40d2a53342b4d60a07d488532 (patch)
tree13dbd62f9a71921c28a4aff5be6f2c569a0dd870 /scumm/script_v7he.cpp
parent4b7999b6faeac7fe3a824736636330c0793091fb (diff)
downloadscummvm-rg350-d8467268c4a447c40d2a53342b4d60a07d488532.tar.gz
scummvm-rg350-d8467268c4a447c40d2a53342b4d60a07d488532.tar.bz2
scummvm-rg350-d8467268c4a447c40d2a53342b4d60a07d488532.zip
Off by one.
svn-id: r17583
Diffstat (limited to 'scumm/script_v7he.cpp')
-rw-r--r--scumm/script_v7he.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/script_v7he.cpp b/scumm/script_v7he.cpp
index b1e8ea03b1..6950a887d3 100644
--- a/scumm/script_v7he.cpp
+++ b/scumm/script_v7he.cpp
@@ -912,7 +912,7 @@ void ScummEngine_v70he::o70_readINI() {
entry = (ConfMan.get((char *)option).c_str());
writeVar(0, 0);
- len = resStrLen((const byte *)entry) + 1;
+ len = resStrLen((const byte *)entry);
ah = defineArray(0, kStringArray, 0, len);
memcpy(ah->data, entry, len);