Browse Source

Fixed an assertion which could occur if you specified an extra semicolon at the end of your wildcard filter string

tags/2021-05-28
hogliux 7 years ago
parent
commit
9d5a489855
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      modules/juce_gui_basics/native/juce_ios_FileChooser.mm

+ 3
- 0
modules/juce_gui_basics/native/juce_ios_FileChooser.mm 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) == "*.");


Loading…
Cancel
Save