[Scummvm-cvs-logs] SF.net SVN: scummvm:[49850] scummvm/trunk/engines/scumm/detection.cpp

fingolfin at users.sourceforge.net fingolfin at users.sourceforge.net
Tue Jun 15 14:36:04 CEST 2010


Revision: 49850
          http://scummvm.svn.sourceforge.net/scummvm/?rev=49850&view=rev
Author:   fingolfin
Date:     2010-06-15 12:36:04 +0000 (Tue, 15 Jun 2010)

Log Message:
-----------
SCUMM: Fix composeFileHashMap

Modified Paths:
--------------
    scummvm/trunk/engines/scumm/detection.cpp

Modified: scummvm/trunk/engines/scumm/detection.cpp
===================================================================
--- scummvm/trunk/engines/scumm/detection.cpp	2010-06-15 12:35:39 UTC (rev 49849)
+++ scummvm/trunk/engines/scumm/detection.cpp	2010-06-15 12:36:04 UTC (rev 49850)
@@ -395,7 +395,7 @@
 			d.md5Entry = 0;
 			fileMD5Map[file->getName()] = d;
 		} else {
-			if (!directoryGlobs)
+			if (!globs)
 				continue;
 
 			bool matched = false;
@@ -411,7 +411,7 @@
 			Common::FSList files;
 
 			if (file->getChildren(files, Common::FSNode::kListAll)) {
-				composeFileHashMap(files, fileMD5Map, depth - 1, directoryGlobs);
+				composeFileHashMap(files, fileMD5Map, depth - 1, globs);
 			}
 		}
 	}


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