From be0a2597ae0d9eb0b8a8a2fc9ae1784faa929844 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Thu, 9 May 2019 13:50:16 +0200 Subject: patch 8.1.1303: not possible to hide a balloon Problem: Not possible to hide a balloon. Solution: Hide the balloon when balloon_show() is called with an empty string or list. Add balloon_gettext(). --- src/beval.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/beval.h') diff --git a/src/beval.h b/src/beval.h index 090c5fb55c..60cf1ab9dc 100644 --- a/src/beval.h +++ b/src/beval.h @@ -75,7 +75,7 @@ typedef struct BalloonEvalStruct #ifdef FEAT_VARTABS int *vts; // vartabstop setting for this buffer #endif - char_u *msg; + char_u *msg; // allocated: current text #ifdef FEAT_GUI_MSWIN void *tofree; #endif -- cgit v1.2.3