diff options
author | Travis Howell | 2004-10-03 06:23:03 +0000 |
---|---|---|
committer | Travis Howell | 2004-10-03 06:23:03 +0000 |
commit | 6c2a8ee48b5b4a8bbdde6903ab5e6f9ec3f1d3d9 (patch) | |
tree | 7140c69dbdd04af1891d03bcbe8cf78e17923934 | |
parent | 74453937200f975b4a31758e0a62138adfe67790 (diff) | |
download | scummvm-rg350-6c2a8ee48b5b4a8bbdde6903ab5e6f9ec3f1d3d9.tar.gz scummvm-rg350-6c2a8ee48b5b4a8bbdde6903ab5e6f9ec3f1d3d9.tar.bz2 scummvm-rg350-6c2a8ee48b5b4a8bbdde6903ab5e6f9ec3f1d3d9.zip |
Reading 1 too far.
svn-id: r15389
-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 076aea8acb..7f6c4df301 100644 --- a/scumm/script_v72he.cpp +++ b/scumm/script_v72he.cpp @@ -1910,7 +1910,7 @@ void ScummEngine_v72he::o72_openFile() { // HACK: Convert paths if (filename[0] == ':') { - int len = resStrLen(filename) + 1; + int len = resStrLen(filename); int i = 1, j = 0; while(len--) { if (filename[i] == ':') |