diff --git a/src/Fl_Native_File_Chooser_WIN32.cxx b/src/Fl_Native_File_Chooser_WIN32.cxx index b0f9013a9..5861f440a 100644 --- a/src/Fl_Native_File_Chooser_WIN32.cxx +++ b/src/Fl_Native_File_Chooser_WIN32.cxx @@ -718,11 +718,12 @@ void Fl_Native_File_Chooser::parse_filter(const char *in) { // Init int nwildcards = 0; - char **wildcards; // parsed wildcards (can be several) + //char **wildcards; // parsed wildcards (can be several) + char *wildcards[80]; // TMP int maxfilters = (strcnt(in, ",|") + 1); // count wildcard seps int t; - wildcards = new char*[maxfilters]; - for ( t=0; t