aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Kiewitz2009-12-31 23:43:10 +0000
committerMartin Kiewitz2009-12-31 23:43:10 +0000
commit3ce017cc2d859e59fdd02d87ee7f36d794c5f594 (patch)
tree870bf4c3324142f07cb5251efd20572de87ef38a
parent038c08eef3eb5da4ed65d6ddb2be902b9041f988 (diff)
downloadscummvm-rg350-3ce017cc2d859e59fdd02d87ee7f36d794c5f594.tar.gz
scummvm-rg350-3ce017cc2d859e59fdd02d87ee7f36d794c5f594.tar.bz2
scummvm-rg350-3ce017cc2d859e59fdd02d87ee7f36d794c5f594.zip
SCI: fixed typo in unwrapFilename
svn-id: r46807
-rw-r--r--engines/sci/sci.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/sci.cpp b/engines/sci/sci.cpp
index eda02d6999..812a230bb8 100644
--- a/engines/sci/sci.cpp
+++ b/engines/sci/sci.cpp
@@ -285,7 +285,7 @@ Common::String SciEngine::wrapFilename(const Common::String &name) const {
}
Common::String SciEngine::unwrapFilename(const Common::String &name) const {
- Common::String prefix = name + "-";
+ Common::String prefix = _targetName + "-";
if (name.hasPrefix(prefix.c_str()))
return Common::String(name.c_str() + prefix.size());
return name;