mirror of
https://github.com/fltk/fltk.git
synced 2026-05-24 08:16:04 +08:00
Fix error in Gnome file dialog where a file filter did not work if it did not begin with *
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10452 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user