diff options
Diffstat (limited to 'src/message.c')
-rw-r--r-- | src/message.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/message.c b/src/message.c index e29f5f8fe..f234a9db2 100644 --- a/src/message.c +++ b/src/message.c @@ -3778,7 +3778,7 @@ do_browse(flags, title, dflt, ext, initdir, filter, buf) filter = BROWSE_FILTER_DEFAULT; if (flags & BROWSE_DIR) { -# if defined(HAVE_GTK2) || defined(WIN3264) +# if defined(FEAT_GUI_GTK) || defined(WIN3264) /* For systems that have a directory dialog. */ fname = gui_mch_browsedir(title, initdir); # else @@ -3786,7 +3786,7 @@ do_browse(flags, title, dflt, ext, initdir, filter, buf) * remove the file name. */ fname = gui_mch_browse(0, title, dflt, ext, initdir, (char_u *)""); # endif -# if !defined(HAVE_GTK2) +# if !defined(FEAT_GUI_GTK) /* Win32 adds a dummy file name, others return an arbitrary file * name. GTK+ 2 returns only the directory, */ if (fname != NULL && *fname != NUL && !mch_isdir(fname)) |