From 04958cbaf25eea27eceedaa987adfb354ad5f7fd Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 23 Jun 2018 19:23:02 +0200 Subject: patch 8.1.0105: all tab stops are the same Problem: All tab stops are the same. Solution: Add the variable tabstop feature. (Christian Brabandt, closes #2711) --- src/gui_beval.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/gui_beval.c') diff --git a/src/gui_beval.c b/src/gui_beval.c index 8c1cd9696..7e4625080 100644 --- a/src/gui_beval.c +++ b/src/gui_beval.c @@ -130,6 +130,9 @@ gui_mch_create_beval_area( beval->msg = mesg; beval->msgCB = mesgCB; beval->clientData = clientData; +#ifdef FEAT_VARTABS + beval->vts = NULL; +#endif /* * Set up event handler which will keep its eyes on the pointer, @@ -171,6 +174,10 @@ gui_mch_destroy_beval_area(BalloonEval *beval) gtk_widget_destroy(beval->balloonShell); # else XtDestroyWidget(beval->balloonShell); +# endif +# ifdef FEAT_VARTABS + if (beval->vts) + vim_free(beval->vts); # endif vim_free(beval); } -- cgit v1.2.1