aboutsummaryrefslogtreecommitdiff
path: root/engines/sky/sky.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2006-07-22 14:50:50 +0000
committerJohannes Schickel2006-07-22 14:50:50 +0000
commitcfd9977425d877870e0c8e800807c5eceea629e6 (patch)
tree3ecf0811865dcb0289ef51b0e5bea43fb76f3ff4 /engines/sky/sky.cpp
parente5934c8f2158db82fb33ef8000c7eb94728214be (diff)
downloadscummvm-rg350-cfd9977425d877870e0c8e800807c5eceea629e6.tar.gz
scummvm-rg350-cfd9977425d877870e0c8e800807c5eceea629e6.tar.bz2
scummvm-rg350-cfd9977425d877870e0c8e800807c5eceea629e6.zip
Using FilesystemNode::name instead of FilesystemNode::displayName in all game detectors.
svn-id: r23558
Diffstat (limited to 'engines/sky/sky.cpp')
-rw-r--r--engines/sky/sky.cpp2
1 files changed, 1 insertions, 1 deletions
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.