Browse Source

tags/2021-05-28
jules 18 years ago
parent
commit
98911c7386
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      src/juce_core/io/files/juce_DirectoryIterator.cpp

+ 2
- 1
src/juce_core/io/files/juce_DirectoryIterator.cpp View File

@@ -54,7 +54,8 @@ DirectoryIterator::DirectoryIterator (const File& directory,
subIterator (0)
{
// you have to specify the type of files you're looking for!
jassert (whatToLookFor > 0 && whatToLookFor <= 3);
jassert ((whatToLookFor_ & (File::findFiles | File::findDirectories)) != 0);
jassert (whatToLookFor_ > 0 && whatToLookFor_ <= 7);
String path (directory.getFullPathName());
if (! path.endsWithChar (File::separator))


Loading…
Cancel
Save