# HG changeset patch # User Bram Moolenaar # Date 1659287704 -7200 # Node ID 7234ae4e015806f8994fe858b5e438b64f09db81 # Parent 4ab4529a7031ddeb433d4df26b058d43f73ad545 patch 9.0.0123: cannot build with small features Commit: https://github.com/vim/vim/commit/c146d974f13450453a7c1f5ab10b105c515f0ccb Author: Bram Moolenaar Date: Sun Jul 31 18:03:57 2022 +0100 patch 9.0.0123: cannot build with small features Problem: Cannot build with small features. Solution: Add #ifdef. diff --git a/src/charset.c b/src/charset.c --- a/src/charset.c +++ b/src/charset.c @@ -771,7 +771,9 @@ win_linetabsize(win_T *wp, linenr_T lnum 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 --- a/src/version.c +++ b/src/version.c @@ -736,6 +736,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 123, +/**/ 122, /**/ 121,