From c3719bd87beca9f72d2e9f11e36d561c2c3b57b0 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 18 Nov 2017 22:13:31 +0100 Subject: patch 8.0.1312: balloon_show() only works in terminal when compiled with GUI 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. --- src/gui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui.c') diff --git a/src/gui.c b/src/gui.c index 926750cb2b..8118ca1979 100644 --- a/src/gui.c +++ b/src/gui.c @@ -738,7 +738,7 @@ gui_init(void) * resized. */ win_new_shellsize(); -#ifdef FEAT_BEVAL +#ifdef FEAT_BEVAL_GUI /* Always create the Balloon Evaluation area, but disable it when * 'ballooneval' is off. */ if (balloonEval != NULL) -- cgit v1.2.3