From a80ecb04313d1bd8f02c8d6d207d2aa2719d3f33 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Wed, 7 Sep 2005 02:47:55 +0000 Subject: [PATCH] Don't resolve filenames in GetDirListing(); if "foo/bar/*" is passed, and "Foo/Bar/baz" exists, allow the case passed to be returned (foo/bar/baz). ResolvePath is fairly expensive, and should only be used by file drivers that actually need it. --- stepmania/src/RageUtil_FileDB.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/stepmania/src/RageUtil_FileDB.cpp b/stepmania/src/RageUtil_FileDB.cpp index 624619b344..a3285d759c 100644 --- a/stepmania/src/RageUtil_FileDB.cpp +++ b/stepmania/src/RageUtil_FileDB.cpp @@ -577,7 +577,6 @@ void FilenameDB::GetDirListing( CString sPath, CStringArray &asAddTo, bool bOnly if( bReturnPathToo && iStart < asAddTo.size() ) { - ResolvePath( sPath ); while( iStart < asAddTo.size() ) { asAddTo[iStart].insert( 0, sPath );