Skip to content
Snippets Groups Projects
Commit f14461e7 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

tentative fix for crash in Save As dialog on MacOS with early fltk 1.3

parent 5bc0755c
No related branches found
No related tags found
No related merge requests found
......@@ -395,6 +395,9 @@ static void file_save_as_cb(Fl_Widget *w, void *data)
strcat(pat, NN);
strcat(pat, formats[i].pat);
}
#if defined(HAVE_NATIVE_FILE_CHOOSER) // fix crash in early fltk 1.3.x
strcat(pat, NN);
#endif
}
test:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment