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/kyra | |
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/kyra')
-rw-r--r-- | engines/kyra/resource.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/resource.cpp b/engines/kyra/resource.cpp index 3cf8336e7f..5929490f6d 100644 --- a/engines/kyra/resource.cpp +++ b/engines/kyra/resource.cpp @@ -374,7 +374,7 @@ Common::SeekableReadStream *Resource::getFileStream(const Common::String &file) return loader->loadFileFromArchive(file, parent, iter->_value); } else { Common::File *stream = new Common::File(); - if (!stream->open(file.c_str())) { + if (!stream->open(file)) { warning("Couldn't open file '%s'", file.c_str()); return 0; } |