aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorTravis Howell2005-04-20 03:12:53 +0000
committerTravis Howell2005-04-20 03:12:53 +0000
commitf960d3006ebc3f4e39d4f3f1701b1f7c10b27db7 (patch)
tree987923b1f8a915de2d9251cdc4fa3f6470390e6b /scumm
parent54f59d761c5f54c7737137187d253b141b259c3c (diff)
downloadscummvm-rg350-f960d3006ebc3f4e39d4f3f1701b1f7c10b27db7.tar.gz
scummvm-rg350-f960d3006ebc3f4e39d4f3f1701b1f7c10b27db7.tar.bz2
scummvm-rg350-f960d3006ebc3f4e39d4f3f1701b1f7c10b27db7.zip
Fix cut and paste rror.
svn-id: r17704
Diffstat (limited to 'scumm')
-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 0b8f32fe60..c08bc8f3f8 100644
--- a/scumm/script_v72he.cpp
+++ b/scumm/script_v72he.cpp
@@ -1694,7 +1694,7 @@ void ScummEngine_v72he::o72_openFile() {
}
} else {
// Switch all \ to / for portablity
- len = resStrLen(_scriptPointer) + 1;
+ len = resStrLen(filename) + 1;
for (i = 0; i < len; i++) {
if (filename[i] == '\\')
filename[i] = '/';