Skip to content

Commit

Permalink
patch 8.0.1571: can't build without GUI
Browse files Browse the repository at this point in the history
Problem:    Can't build without GUI.
Solution:   Adjust #ifdef for gui_find_menu().
  • Loading branch information
brammool committed Mar 5, 2018
1 parent 29a2c08 commit 40d77b0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/menu.c
Expand Up @@ -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.
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Expand Up @@ -766,6 +766,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1571,
/**/
1570,
/**/
Expand Down

0 comments on commit 40d77b0

Please sign in to comment.