From cc17a1882e02d93624c4aff7ce370d7724f20ef6 Mon Sep 17 00:00:00 2001 From: jules Date: Mon, 13 Aug 2007 11:30:30 +0000 Subject: [PATCH] --- src/juce_core/io/files/juce_File.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/juce_core/io/files/juce_File.cpp b/src/juce_core/io/files/juce_File.cpp index 3a3a67b574..c4476b3672 100644 --- a/src/juce_core/io/files/juce_File.cpp +++ b/src/juce_core/io/files/juce_File.cpp @@ -650,7 +650,7 @@ int File::findChildFiles (OwnedArray& results, const String& wildCardPattern) const throw() { // you have to specify the type of files you're looking for! - jassert (whatToLookFor > 0 && whatToLookFor <= 3); + jassert ((whatToLookFor & (findFiles | findDirectories)) != 0); int total = 0;