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:
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user