diff options
author | Johannes Schickel | 2006-07-22 14:50:50 +0000 |
---|---|---|
committer | Johannes Schickel | 2006-07-22 14:50:50 +0000 |
commit | cfd9977425d877870e0c8e800807c5eceea629e6 (patch) | |
tree | 3ecf0811865dcb0289ef51b0e5bea43fb76f3ff4 /engines/cine | |
parent | e5934c8f2158db82fb33ef8000c7eb94728214be (diff) | |
download | scummvm-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/cine')
-rw-r--r-- | engines/cine/cine.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/cine/cine.cpp b/engines/cine/cine.cpp index 2245afa227..57f16e7002 100644 --- a/engines/cine/cine.cpp +++ b/engines/cine/cine.cpp @@ -99,9 +99,9 @@ DetectedGameList Engine_CINE_detectGames(const FSList &fslist) { // Iterate over all files in the given directory for (FSList::const_iterator file = fslist.begin(); file != fslist.end(); ++file) { - const char *gameName = file->displayName().c_str(); + const char *fileName = file->name().c_str(); - if (0 == scumm_stricmp(g->detectname, gameName)) { + if (0 == scumm_stricmp(g->detectname, fileName)) { // Match found, add to list of candidates, then abort inner loop. detectedGames.push_back(*g); break; |