From: Bram Moolenaar Date: Mon, 5 Mar 2018 20:32:27 +0000 (+0100) Subject: patch 8.0.1571: can't build without GUI X-Git-Tag: v8.0.1571 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=40d77b0ec14a4999d8f0d52643a0ad289bf88dfa;p=vim patch 8.0.1571: can't build without GUI Problem: Can't build without GUI. Solution: Adjust #ifdef for gui_find_menu(). --- diff --git a/src/menu.c b/src/menu.c index c04cd49bb..58429dc8a 100644 --- a/src/menu.c +++ b/src/menu.c @@ -2462,6 +2462,7 @@ winbar_click(win_T *wp, int col) } #if defined(FEAT_GUI_MSWIN) || defined(FEAT_GUI_GTK) \ + || defined(FEAT_TERM_POPUP_MENU) \ || defined(FEAT_BEVAL_TIP) || defined(PROTO) /* * Given a menu descriptor, e.g. "File.New", find it in the menu hierarchy. diff --git a/src/version.c b/src/version.c index 6f498aa97..2f045e4fd 100644 --- a/src/version.c +++ b/src/version.c @@ -766,6 +766,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1571, /**/ 1570, /**/