aboutsummaryrefslogtreecommitdiff
path: root/engines/agi/detection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/agi/detection.cpp')
-rw-r--r--engines/agi/detection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/agi/detection.cpp b/engines/agi/detection.cpp
index 9f6f0e7156..b7f8c12730 100644
--- a/engines/agi/detection.cpp
+++ b/engines/agi/detection.cpp
@@ -1885,7 +1885,7 @@ Common::ADGameDescList fallbackDetector(const FSList *fslist) {
// First grab all filenames
for (FSList::const_iterator file = fslist->begin(); file != fslist->end(); ++file) {
if (file->isDirectory()) continue;
- tstr = file->name();
+ tstr = file->getName();
tstr.toLowercase();
allFiles[tstr] = true;