diff options
author | Travis Howell | 2005-04-13 11:03:23 +0000 |
---|---|---|
committer | Travis Howell | 2005-04-13 11:03:23 +0000 |
commit | d8467268c4a447c40d2a53342b4d60a07d488532 (patch) | |
tree | 13dbd62f9a71921c28a4aff5be6f2c569a0dd870 /scumm/script_v72he.cpp | |
parent | 4b7999b6faeac7fe3a824736636330c0793091fb (diff) | |
download | scummvm-rg350-d8467268c4a447c40d2a53342b4d60a07d488532.tar.gz scummvm-rg350-d8467268c4a447c40d2a53342b4d60a07d488532.tar.bz2 scummvm-rg350-d8467268c4a447c40d2a53342b4d60a07d488532.zip |
Off by one.
svn-id: r17583
Diffstat (limited to 'scumm/script_v72he.cpp')
-rw-r--r-- | scumm/script_v72he.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/script_v72he.cpp b/scumm/script_v72he.cpp index 7168c03d12..891cf9af45 100644 --- a/scumm/script_v72he.cpp +++ b/scumm/script_v72he.cpp @@ -2113,7 +2113,7 @@ void ScummEngine_v72he::o72_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, 0, 0, len); memcpy(ah->data, entry, len); |