Browse Source

DirectoryIterator fix.

tags/2021-05-28
jules 13 years ago
parent
commit
9f41dbce82
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      modules/juce_core/files/juce_DirectoryIterator.cpp

+ 4
- 4
modules/juce_core/files/juce_DirectoryIterator.cpp View File

@@ -65,6 +65,7 @@ bool DirectoryIterator::next (bool* const isDirResult, bool* const isHiddenResul
String filename;
bool isDirectory, isHidden;
while (fileFinder.next (filename, &isDirectory, &isHidden, fileSize, modTime, creationTime, isReadOnly))
{
++index;
@@ -101,10 +102,9 @@ bool DirectoryIterator::next (bool* const isDirResult, bool* const isHiddenResul
return true;
}
else if (subIterator != nullptr)
{
return next();
}
if (subIterator != nullptr)
return next (isDirResult, isHiddenResult, fileSize, modTime, creationTime, isReadOnly);
}
}


Loading…
Cancel
Save