summaryrefslogtreecommitdiffstats
path: root/src/evalfunc.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-11-18 22:13:31 +0100
committerBram Moolenaar <Bram@vim.org>2017-11-18 22:13:31 +0100
commitc3719bd87beca9f72d2e9f11e36d561c2c3b57b0 (patch)
tree2ca909ca8d4a040e48cc484b2ae7512014d3eaf0 /src/evalfunc.c
parentc7d16dce2f180c8ebfc8105ad090b0ea2deedcdc (diff)
patch 8.0.1312: balloon_show() only works in terminal when compiled with GUIv8.0.1312
Problem: balloon_show() only works in terminal when compiled with the GUI. Solution: Add FEAT_BEVAL_GUI and refactor to move common code out of the GUI specific file.
Diffstat (limited to 'src/evalfunc.c')
-rw-r--r--src/evalfunc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/evalfunc.c b/src/evalfunc.c
index bd5cf8dec5..c03e214165 100644
--- a/src/evalfunc.c
+++ b/src/evalfunc.c
@@ -5583,13 +5583,13 @@ f_has(typval_T *argvars, typval_T *rettv)
#ifdef FEAT_AUTOSERVERNAME
"autoservername",
#endif
-#ifdef FEAT_BEVAL
+#ifdef FEAT_BEVAL_GUI
"balloon_eval",
# ifndef FEAT_GUI_W32 /* other GUIs always have multiline balloons */
"balloon_multiline",
# endif
#endif
-#ifdef FEAT_BEVALTERM
+#ifdef FEAT_BEVAL_TERM
"balloon_eval_term",
#endif
#if defined(SOME_BUILTIN_TCAPS) || defined(ALL_BUILTIN_TCAPS)