Skip to content

Commit 40d77b0

Browse files
committed
patch 8.0.1571: can't build without GUI
Problem: Can't build without GUI. Solution: Adjust #ifdef for gui_find_menu().
1 parent 29a2c08 commit 40d77b0

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

src/menu.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2462,6 +2462,7 @@ winbar_click(win_T *wp, int col)
24622462
}
24632463

24642464
#if defined(FEAT_GUI_MSWIN) || defined(FEAT_GUI_GTK) \
2465+
|| defined(FEAT_TERM_POPUP_MENU) \
24652466
|| defined(FEAT_BEVAL_TIP) || defined(PROTO)
24662467
/*
24672468
* Given a menu descriptor, e.g. "File.New", find it in the menu hierarchy.

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -766,6 +766,8 @@ static char *(features[]) =
766766

767767
static int included_patches[] =
768768
{ /* Add new patch number below this line */
769+
/**/
770+
1571,
769771
/**/
770772
1570,
771773
/**/

0 commit comments

Comments
 (0)