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

sev at users.sourceforge.net sev at users.sourceforge.net
Wed Aug 25 09:40:14 CEST 2010


Revision: 52370
          http://scummvm.svn.sourceforge.net/scummvm/?rev=52370&view=rev
Author:   sev
Date:     2010-08-25 07:40:13 +0000 (Wed, 25 Aug 2010)

Log Message:
-----------
SCUMM: Fix bug #3049323

Bug #3049323: "SCUMM: Detects games in wrong places".
I must admit: A seriously stupid bug.

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

Modified: scummvm/trunk/engines/scumm/detection.cpp
===================================================================
--- scummvm/trunk/engines/scumm/detection.cpp	2010-08-25 07:39:50 UTC (rev 52369)
+++ scummvm/trunk/engines/scumm/detection.cpp	2010-08-25 07:40:13 UTC (rev 52370)
@@ -401,8 +401,8 @@
 				continue;
 
 			bool matched = false;
-			for (const char *glob = *globs; *glob; glob++)
-				if (file->getName().matchString(glob, true)) {
+			for (const char **glob = globs; *glob; glob++)
+				if (file->getName().matchString(*glob, true)) {
 					matched = true;
 					break;
 				}


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