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.
This commit is contained in:
Glenn Maynard
2005-09-07 02:47:55 +00:00
parent 35dfba854e
commit a80ecb0431
-1
View File
@@ -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 );