|
|
|
@@ -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);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|