From d8467268c4a447c40d2a53342b4d60a07d488532 Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Wed, 13 Apr 2005 11:03:23 +0000 Subject: Off by one. svn-id: r17583 --- scumm/script_v7he.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scumm/script_v7he.cpp') 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); -- cgit v1.2.3