Let nds filter in the file chooser match againt upper case extensions.

This commit is contained in:
riccardom 2009-05-08 19:41:35 +00:00
parent dc86077865
commit ece807b605
1 changed files with 3 additions and 3 deletions

View File

@ -798,12 +798,12 @@ static void OpenNdsDialog()
pParent = GTK_WIDGET(pWindow);
pFilter_nds = gtk_file_filter_new();
gtk_file_filter_add_pattern(pFilter_nds, "*.nds");
gtk_file_filter_add_pattern(pFilter_nds, "*.[nN][dD][sS]");
#ifdef HAVE_LIBZ
gtk_file_filter_add_pattern(pFilter_nds, "*.nds.gz");
gtk_file_filter_add_pattern(pFilter_nds, "*.[nN][dD][sS].gz");
#endif
#ifdef HAVE_LIBZZIP
gtk_file_filter_add_pattern(pFilter_nds, "*.nds.zip");
gtk_file_filter_add_pattern(pFilter_nds, "*.[nN][dD][sS].zip");
#endif
gtk_file_filter_set_name(pFilter_nds, "Nds binary (.nds)");