]> granicus.if.org Git - vim/commitdiff
patch 8.0.1571: can't build without GUI v8.0.1571
authorBram Moolenaar <Bram@vim.org>
Mon, 5 Mar 2018 20:32:27 +0000 (21:32 +0100)
committerBram Moolenaar <Bram@vim.org>
Mon, 5 Mar 2018 20:32:27 +0000 (21:32 +0100)
Problem:    Can't build without GUI.
Solution:   Adjust #ifdef for gui_find_menu().

src/menu.c
src/version.c

index c04cd49bbdeb99fb02097842eb89d259e6dccd84..58429dc8aaf4fe12c89a0e20f9bc34642647abbb 100644 (file)
@@ -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.
index 6f498aa9716244312625b04cb2b9e2a532754d5c..2f045e4fd3decaf261b4c395b68ac8a265552fc5 100644 (file)
@@ -766,6 +766,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1571,
 /**/
     1570,
 /**/