Wildcards are the difference between finding similar things, and finding nothing.
This commit is contained in:
@@ -402,7 +402,7 @@ void RageFileManager::GetDirListingWithMultipleExtensions( const RString &sPath,
|
|||||||
for(vector<RString>::const_iterator curr_ext= ExtensionList.begin();
|
for(vector<RString>::const_iterator curr_ext= ExtensionList.begin();
|
||||||
curr_ext != ExtensionList.end(); ++curr_ext)
|
curr_ext != ExtensionList.end(); ++curr_ext)
|
||||||
{
|
{
|
||||||
GetDirListing(sPath + (*curr_ext), AddTo, bOnlyDirs, bReturnPathToo);
|
GetDirListing(sPath + "*." + (*curr_ext), AddTo, bOnlyDirs, bReturnPathToo);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user