aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction
diff options
context:
space:
mode:
authorMax Horn2008-03-28 08:30:42 +0000
committerMax Horn2008-03-28 08:30:42 +0000
commit7f81de679480acbcc9d2b13e52e0938675252d27 (patch)
treea1a00383def47041fd1f343fd08add831245782c /engines/parallaction
parentf2e53b9d224d25852a263be9e84c83c55adf401c (diff)
downloadscummvm-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.cpp7
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;