diff options
Diffstat (limited to 'scumm')
-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 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] = '/'; |