Mercurial > vim
diff src/menu.c @ 13394:d21899f0d850 v8.0.1571
patch 8.0.1571: can't build without GUI
commit https://github.com/vim/vim/commit/40d77b0ec14a4999d8f0d52643a0ad289bf88dfa
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Mar 5 21:32:27 2018 +0100
patch 8.0.1571: can't build without GUI
Problem: Can't build without GUI.
Solution: Adjust #ifdef for gui_find_menu().
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Mon, 05 Mar 2018 21:45:05 +0100 |
parents | d5347779fb20 |
children | 0a3b9ecf7cb8 |
line wrap: on
line diff
--- 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.