From c146d974f13450453a7c1f5ab10b105c515f0ccb Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sun, 31 Jul 2022 18:03:57 +0100 Subject: [PATCH] patch 9.0.0123: cannot build with small features Problem: Cannot build with small features. Solution: Add #ifdef. --- src/charset.c | 2 ++ src/version.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/charset.c b/src/charset.c index 72838d0f9..e47fd89c6 100644 --- a/src/charset.c +++ b/src/charset.c @@ -771,7 +771,9 @@ win_linetabsize(win_T *wp, linenr_T lnum, char_u *line, colnr_T len) chartabsize_T cts; init_chartabsize_arg(&cts, wp, lnum, 0, line, line); +#ifdef FEAT_PROP_POPUP cts.cts_with_trailing = len == MAXCOL; +#endif for ( ; *cts.cts_ptr != NUL && (len == MAXCOL || cts.cts_ptr < line + len); MB_PTR_ADV(cts.cts_ptr)) cts.cts_vcol += win_lbr_chartabsize(&cts, NULL); diff --git a/src/version.c b/src/version.c index aed14f067..118a38ba3 100644 --- a/src/version.c +++ b/src/version.c @@ -735,6 +735,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 123, /**/ 122, /**/ -- 2.40.0