aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Howell2004-10-03 06:23:03 +0000
committerTravis Howell2004-10-03 06:23:03 +0000
commit6c2a8ee48b5b4a8bbdde6903ab5e6f9ec3f1d3d9 (patch)
tree7140c69dbdd04af1891d03bcbe8cf78e17923934
parent74453937200f975b4a31758e0a62138adfe67790 (diff)
downloadscummvm-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.cpp2
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] == ':')