1
0
Fork 0
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:
hogliux 2018-03-12 17:14:52 +00:00
parent b3d35345e9
commit 9d5a489855

View file

@ -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) == "*.");