mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-18 00:54:19 +00:00
DirectoryIterator fix when multiple wildcards are used.
This commit is contained in:
parent
ea4c7b3351
commit
1dbc29bbe0
1 changed files with 2 additions and 2 deletions
|
|
@ -109,8 +109,8 @@ bool DirectoryIterator::next (bool* const isDirResult, bool* const isHiddenResul
|
|||
matches = (whatToLookFor & File::findFiles) != 0;
|
||||
}
|
||||
|
||||
// if recursive, we're not relying on the OS iterator to do the wildcard match, so do it now..
|
||||
if (matches && isRecursive)
|
||||
// if we're not relying on the OS iterator to do the wildcard match, do it now..
|
||||
if (matches && (isRecursive || wildCards.size() > 1))
|
||||
matches = fileMatches (wildCards, filename);
|
||||
|
||||
if (matches && (whatToLookFor & File::ignoreHiddenFiles) != 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue