From f14461e73f46ea15dd821283df804c9001daa02e Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Sun, 4 Sep 2011 09:18:53 +0000 Subject: [PATCH] tentative fix for crash in Save As dialog on MacOS with early fltk 1.3 --- Fltk/menuWindow.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Fltk/menuWindow.cpp b/Fltk/menuWindow.cpp index 609135a558..38910aca22 100644 --- a/Fltk/menuWindow.cpp +++ b/Fltk/menuWindow.cpp @@ -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: -- GitLab