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

only add file dialog separators on mac

parent e361ad28
Branches
Tags
No related merge requests found
...@@ -81,9 +81,14 @@ static void file_new_cb(Fl_Widget *w, void *data) ...@@ -81,9 +81,14 @@ static void file_new_cb(Fl_Widget *w, void *data)
#if defined(HAVE_NATIVE_FILE_CHOOSER) #if defined(HAVE_NATIVE_FILE_CHOOSER)
# define TT "\t" # define TT "\t"
# define NN "\n" # define NN "\n"
# if defined(__APPLE__)
# define SEPARATOR_IN " " TT "*" NN # define SEPARATOR_IN " " TT "*" NN
# define SEPARATOR_OUT {" " TT "*.*", _save_auto}, # define SEPARATOR_OUT {" " TT "*.*", _save_auto},
# else # else
# define SEPARATOR_IN
# define SEPARATOR_OUT
# endif
#else
# define TT " (" # define TT " ("
# define NN ")\t" # define NN ")\t"
# define SEPARATOR_IN # define SEPARATOR_IN
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment