aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm
diff options
context:
space:
mode:
authorEugene Sandulenko2010-08-25 07:40:13 +0000
committerEugene Sandulenko2010-08-25 07:40:13 +0000
commit503cfd304bc230d7e1b44d7586344cb5d9f6a5e9 (patch)
treef0d711798c7ce485bf986cef2fd96b3c2b71aff1 /engines/scumm
parent349b89adce911b451501ba9c2f6b7d9f95b0af80 (diff)
downloadscummvm-rg350-503cfd304bc230d7e1b44d7586344cb5d9f6a5e9.tar.gz
scummvm-rg350-503cfd304bc230d7e1b44d7586344cb5d9f6a5e9.tar.bz2
scummvm-rg350-503cfd304bc230d7e1b44d7586344cb5d9f6a5e9.zip
SCUMM: Fix bug #3049323
Bug #3049323: "SCUMM: Detects games in wrong places". I must admit: A seriously stupid bug. svn-id: r52370
Diffstat (limited to 'engines/scumm')
-rw-r--r--engines/scumm/detection.cpp4
1 files changed, 2 insertions, 2 deletions
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;
}