From 503cfd304bc230d7e1b44d7586344cb5d9f6a5e9 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Wed, 25 Aug 2010 07:40:13 +0000 Subject: SCUMM: Fix bug #3049323 Bug #3049323: "SCUMM: Detects games in wrong places". I must admit: A seriously stupid bug. svn-id: r52370 --- engines/scumm/detection.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/scumm') diff --git a/engines/scumm/detection.cpp b/engines/scumm/detection.cpp index 9721c75677..9010cb84c3 100644 --- a/engines/scumm/detection.cpp +++ b/engines/scumm/detection.cpp @@ -401,8 +401,8 @@ static void composeFileHashMap(const Common::FSList &fslist, DescMap &fileMD5Map 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; } -- cgit v1.2.3