diff options
author | Einar Johan Trøan Sømåen | 2012-05-09 15:18:35 +0200 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2012-06-02 12:42:09 +0200 |
commit | ecc03331dbc0ba5b2ea6ced1dea7ae171f515ab1 (patch) | |
tree | 436a650b9fcca2977599e34719f46f9b1e40eb35 /engines/wintermute/BFileManager.cpp | |
parent | 2f7fe9f443464f3b0fc93966753266be5ac8741f (diff) | |
download | scummvm-rg350-ecc03331dbc0ba5b2ea6ced1dea7ae171f515ab1.tar.gz scummvm-rg350-ecc03331dbc0ba5b2ea6ced1dea7ae171f515ab1.tar.bz2 scummvm-rg350-ecc03331dbc0ba5b2ea6ced1dea7ae171f515ab1.zip |
WINTERMUTE: Correct assumptions about PathUtil::GetExtension
This puts it in line with Common::lastPathComponent, i.e. not including the '.'
Diffstat (limited to 'engines/wintermute/BFileManager.cpp')
-rw-r--r-- | engines/wintermute/BFileManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/wintermute/BFileManager.cpp b/engines/wintermute/BFileManager.cpp index 0967df5518..68a4db4910 100644 --- a/engines/wintermute/BFileManager.cpp +++ b/engines/wintermute/BFileManager.cpp @@ -371,7 +371,7 @@ HRESULT CBFileManager::RegisterPackages() { RegisterPackage("data.dcp");
RegisterPackage("english.dcp");
#if 0
- AnsiString extension = AnsiString(".") + AnsiString(PACKAGE_EXTENSION);
+ AnsiString extension = AnsiString(PACKAGE_EXTENSION);
for (int i = 0; i < _packagePaths.GetSize(); i++) {
boost::filesystem::path absPath = boost::filesystem::syste_complete(_packagePaths[i]);
|