diff options
author | Max Horn | 2008-03-28 08:30:42 +0000 |
---|---|---|
committer | Max Horn | 2008-03-28 08:30:42 +0000 |
commit | 7f81de679480acbcc9d2b13e52e0938675252d27 (patch) | |
tree | a1a00383def47041fd1f343fd08add831245782c /engines/parallaction | |
parent | f2e53b9d224d25852a263be9e84c83c55adf401c (diff) | |
download | scummvm-rg350-7f81de679480acbcc9d2b13e52e0938675252d27.tar.gz scummvm-rg350-7f81de679480acbcc9d2b13e52e0938675252d27.tar.bz2 scummvm-rg350-7f81de679480acbcc9d2b13e52e0938675252d27.zip |
cleanup
svn-id: r31289
Diffstat (limited to 'engines/parallaction')
-rw-r--r-- | engines/parallaction/disk_ns.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/engines/parallaction/disk_ns.cpp b/engines/parallaction/disk_ns.cpp index 9da299dce1..cdbe3458a7 100644 --- a/engines/parallaction/disk_ns.cpp +++ b/engines/parallaction/disk_ns.cpp @@ -70,11 +70,8 @@ void Archive::open(const char *file) { if (_archive.isOpen()) close(); - char path[PATH_LEN]; - - strcpy(path, file); - if (!_archive.open(path)) - error("archive '%s' not found", path); + if (!_archive.open(file)) + error("archive '%s' not found", file); _archiveName = file; |