[Scummvm-cvs-logs] SF.net SVN: scummvm: [23557] scummvm/trunk/engines/sword2/sword2.cpp
lordhoto at users.sourceforge.net
lordhoto at users.sourceforge.net
Sat Jul 22 16:40:00 CEST 2006
Revision: 23557
Author: lordhoto
Date: 2006-07-22 07:39:54 -0700 (Sat, 22 Jul 2006)
ViewCVS: http://svn.sourceforge.net/scummvm/?rev=23557&view=rev
Log Message:
-----------
Using FilesystemNode::name instead of FilesystemNode::displayName in the sword2 detector code too.
Modified Paths:
--------------
scummvm/trunk/engines/sword2/sword2.cpp
Modified: scummvm/trunk/engines/sword2/sword2.cpp
===================================================================
--- scummvm/trunk/engines/sword2/sword2.cpp 2006-07-22 14:37:52 UTC (rev 23556)
+++ scummvm/trunk/engines/sword2/sword2.cpp 2006-07-22 14:39:54 UTC (rev 23557)
@@ -97,9 +97,9 @@
// Iterate over all files in the given directory
for (FSList::const_iterator file = fslist.begin(); file != fslist.end(); ++file) {
if (!file->isDirectory()) {
- 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;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list