diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-11-18 22:13:31 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-11-18 22:13:31 +0100 |
commit | c3719bd87beca9f72d2e9f11e36d561c2c3b57b0 (patch) | |
tree | 2ca909ca8d4a040e48cc484b2ae7512014d3eaf0 /src/option.c | |
parent | c7d16dce2f180c8ebfc8105ad090b0ea2deedcdc (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/option.c')
-rw-r--r-- | src/option.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/option.c b/src/option.c index 495a89dddb..e09191f441 100644 --- a/src/option.c +++ b/src/option.c @@ -634,7 +634,7 @@ static struct vimoption options[] = #endif SCRIPTID_INIT}, {"ballooneval", "beval",P_BOOL|P_VI_DEF|P_NO_MKRC, -#ifdef FEAT_BEVAL +#ifdef FEAT_BEVAL_GUI (char_u *)&p_beval, PV_NONE, {(char_u *)FALSE, (char_u *)0L} #else @@ -643,7 +643,7 @@ static struct vimoption options[] = #endif SCRIPTID_INIT}, {"balloonevalterm", "bevalterm",P_BOOL|P_VI_DEF|P_NO_MKRC, -#ifdef FEAT_BEVALTERM +#ifdef FEAT_BEVAL_TERM (char_u *)&p_bevalterm, PV_NONE, {(char_u *)FALSE, (char_u *)0L} #else @@ -8429,7 +8429,7 @@ set_bool_option( p_wiv = (*T_XS != NUL); } -#ifdef FEAT_BEVAL +#ifdef FEAT_BEVAL_GUI else if ((int *)varp == &p_beval) { if (!balloonEvalForTerm) @@ -8441,12 +8441,12 @@ set_bool_option( } } #endif -# ifdef FEAT_BEVALTERM +#ifdef FEAT_BEVAL_TERM else if ((int *)varp == &p_bevalterm) { mch_bevalterm_changed(); } -# endif +#endif #ifdef FEAT_AUTOCHDIR else if ((int *)varp == &p_acd) |