diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_Native_File_Chooser_GTK.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_Native_File_Chooser_GTK.cxx b/src/Fl_Native_File_Chooser_GTK.cxx index 1b4751107..bc5bd6862 100644 --- a/src/Fl_Native_File_Chooser_GTK.cxx +++ b/src/Fl_Native_File_Chooser_GTK.cxx @@ -351,7 +351,7 @@ gboolean Fl_GTK_File_Chooser::custom_gtk_filter_function(const GtkFileFilterInfo p->running->changed_output_type(p->filter); p->running->previous_filter = p->filter; } - return (gboolean)fl_filename_match(info->filename, p->filter); + return (gboolean)fl_filename_match(fl_filename_name(info->filename), p->filter); } void Fl_GTK_File_Chooser::free_pair(Fl_GTK_File_Chooser::pair *p) |
