summaryrefslogtreecommitdiff
path: root/src/menu.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-03-05 21:32:27 +0100
committerBram Moolenaar <Bram@vim.org>2018-03-05 21:32:27 +0100
commit40d77b0ec14a4999d8f0d52643a0ad289bf88dfa (patch)
tree8eb5f8eb758a5e39bd89d6d86f74d3a761aca9a1 /src/menu.c
parent29a2c08d792e4458a0af8371f5341394829fce29 (diff)
downloadvim-40d77b0ec14a4999d8f0d52643a0ad289bf88dfa.zip
patch 8.0.1571: can't build without GUI
Problem: Can't build without GUI. Solution: Adjust #ifdef for gui_find_menu().
Diffstat (limited to 'src/menu.c')
-rw-r--r--src/menu.c1
1 files changed, 1 insertions, 0 deletions
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.