From cfd9977425d877870e0c8e800807c5eceea629e6 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Sat, 22 Jul 2006 14:50:50 +0000 Subject: Using FilesystemNode::name instead of FilesystemNode::displayName in all game detectors. svn-id: r23558 --- engines/sky/sky.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/sky/sky.cpp') diff --git a/engines/sky/sky.cpp b/engines/sky/sky.cpp index 9e589bf498..c04af74794 100644 --- a/engines/sky/sky.cpp +++ b/engines/sky/sky.cpp @@ -95,7 +95,7 @@ DetectedGameList Engine_SKY_detectGames(const FSList &fslist) { // Iterate over all files in the given directory for (FSList::const_iterator file = fslist.begin(); file != fslist.end(); ++file) { if (!file->isDirectory()) { - const char *fileName = file->displayName().c_str(); + const char *fileName = file->name().c_str(); if (0 == scumm_stricmp("sky.dsk", fileName)) { // Match found, add to list of candidates, then abort inner loop. -- cgit v1.2.3