diff options
Diffstat (limited to 'engines/parallaction/disk_ns.cpp')
-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; |