mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Fixed a bug in DirectoryIterator where the result would be inconsistent between Mac/Window when using a default constructed File object
This commit is contained in:
parent
a347689d96
commit
ff52d76197
1 changed files with 1 additions and 1 deletions
|
|
@ -740,7 +740,7 @@ class DirectoryIterator::NativeIterator::Pimpl
|
|||
{
|
||||
public:
|
||||
Pimpl (const File& directory, const String& wildCard)
|
||||
: directoryWithWildCard (File::addTrailingSeparator (directory.getFullPathName()) + wildCard),
|
||||
: directoryWithWildCard (directory.getFullPathName().isNotEmpty() ? File::addTrailingSeparator (directory.getFullPathName()) + wildCard : String()),
|
||||
handle (INVALID_HANDLE_VALUE)
|
||||
{
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue