[Scummvm-cvs-logs] SF.net SVN: scummvm: [21822] scummvm/trunk/common/file.cpp
fingolfin at users.sourceforge.net
fingolfin at users.sourceforge.net
Wed Apr 12 01:11:05 CEST 2006
Revision: 21822
Author: fingolfin
Date: 2006-04-12 01:10:49 -0700 (Wed, 12 Apr 2006)
ViewCVS: http://svn.sourceforge.net/scummvm/?rev=21822&view=rev
Log Message:
-----------
Fixing the workaround for bug #1458388 (should have added trailing dot, but didn't)
Modified Paths:
--------------
scummvm/trunk/common/file.cpp
Modified: scummvm/trunk/common/file.cpp
===================================================================
--- scummvm/trunk/common/file.cpp 2006-04-12 07:56:44 UTC (rev 21821)
+++ scummvm/trunk/common/file.cpp 2006-04-12 08:10:49 UTC (rev 21822)
@@ -218,9 +218,7 @@
} else if (_filesMap && _filesMap->contains(fname + ".")) {
// WORKAROUND: Bug #1458388: "SIMON1: Game Detection fails"
// sometimes instead of "GAMEPC" we get "GAMEPC." (note trailing dot)
-
- // FIXME: Shouldn't we add a '+ "."' after fname here?
- fname = (*_filesMap)[fname];
+ fname = (*_filesMap)[fname + "."];
debug(3, "Opening hashed: %s", fname.c_str());
_handle = fopen(fname.c_str(), modeStr);
} else {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list