From f960d3006ebc3f4e39d4f3f1701b1f7c10b27db7 Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Wed, 20 Apr 2005 03:12:53 +0000 Subject: Fix cut and paste rror. svn-id: r17704 --- scumm/script_v72he.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scumm/script_v72he.cpp') 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] = '/'; -- cgit v1.2.3