aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/detection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/scumm/detection.cpp')
-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;
}