From ece807b605df824f82e3dbbd4e0b281e738091f7 Mon Sep 17 00:00:00 2001 From: riccardom Date: Fri, 8 May 2009 19:41:35 +0000 Subject: [PATCH] Let nds filter in the file chooser match againt upper case extensions. --- desmume/src/gtk/main.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/desmume/src/gtk/main.cpp b/desmume/src/gtk/main.cpp index 65b6ec48f..1b2dbf754 100644 --- a/desmume/src/gtk/main.cpp +++ b/desmume/src/gtk/main.cpp @@ -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)");