summaryrefslogtreecommitdiff
path: root/src/gui_beval.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-06-23 19:23:02 +0200
committerBram Moolenaar <Bram@vim.org>2018-06-23 19:23:02 +0200
commit04958cbaf25eea27eceedaa987adfb354ad5f7fd (patch)
tree9a47e4e99b5b702e12d08c0424a91ae701eabb4d /src/gui_beval.c
parent5ec7414a1c0512832f60c17437d6374cbf4b08e9 (diff)
downloadvim-git-04958cbaf25eea27eceedaa987adfb354ad5f7fd.tar.gz
patch 8.1.0105: all tab stops are the samev8.1.0105
Problem: All tab stops are the same. Solution: Add the variable tabstop feature. (Christian Brabandt, closes #2711)
Diffstat (limited to 'src/gui_beval.c')
-rw-r--r--src/gui_beval.c7
1 files changed, 7 insertions, 0 deletions
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,
@@ -172,6 +175,10 @@ gui_mch_destroy_beval_area(BalloonEval *beval)
# else
XtDestroyWidget(beval->balloonShell);
# endif
+# ifdef FEAT_VARTABS
+ if (beval->vts)
+ vim_free(beval->vts);
+# endif
vim_free(beval);
}
#endif