mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-30 02:50:05 +00:00
Fixed an assertion which could occur if you specified an extra semicolon at the end of your wildcard filter string
This commit is contained in:
parent
b3d35345e9
commit
9d5a489855
1 changed files with 3 additions and 0 deletions
|
|
@ -143,6 +143,9 @@ private:
|
|||
{
|
||||
for (auto filter : filters)
|
||||
{
|
||||
if (filter.isEmpty())
|
||||
continue;
|
||||
|
||||
// iOS only supports file extension wild cards
|
||||
jassert (filter.upToLastOccurrenceOf (".", true, false) == "*.");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue