summaryrefslogtreecommitdiff
path: root/src/charset.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-07-25 18:35:15 +0100
committerBram Moolenaar <Bram@vim.org>2022-07-25 18:35:15 +0100
commitfe3fb6e1e6c90e9bada05518a13a72b3fc2f6a98 (patch)
treeb1ad2bf1a189544579fda002666c785d84f409c6 /src/charset.c
parent7f9969c559b51446632ac7e8f76cde07e7d0078d (diff)
downloadvim-git-fe3fb6e1e6c90e9bada05518a13a72b3fc2f6a98.tar.gz
patch 9.0.0068: build fails with tiny featuresv9.0.0068
Problem: Build fails with tiny features. Solution: Add #ifdef.
Diffstat (limited to 'src/charset.c')
-rw-r--r--src/charset.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/charset.c b/src/charset.c
index 2df64c990..8c6ac1c2f 100644
--- a/src/charset.c
+++ b/src/charset.c
@@ -960,10 +960,12 @@ init_chartabsize_arg(
* Free any allocated item in "cts".
*/
void
-clear_chartabsize_arg(chartabsize_T *cts)
+clear_chartabsize_arg(chartabsize_T *cts UNUSED)
{
+#ifdef FEAT_PROP_POPUP
if (cts->cts_text_prop_count > 0)
vim_free(cts->cts_text_props);
+#endif
}
/*
@@ -1023,7 +1025,9 @@ win_lbr_chartabsize(
int *headp UNUSED)
{
win_T *wp = cts->cts_win;
+#ifdef FEAT_PROP_POPUP
char_u *line = cts->cts_line; // start of the line
+#endif
char_u *s = cts->cts_ptr;
colnr_T vcol = cts->cts_vcol;
#ifdef FEAT_LINEBREAK