1
0
forked from aniani/vim

patch 9.0.0123: cannot build with small features

Problem:    Cannot build with small features.
Solution:   Add #ifdef.
This commit is contained in:
Bram Moolenaar
2022-07-31 18:03:57 +01:00
parent be33e5e4a9
commit c146d974f1
2 changed files with 4 additions and 0 deletions

View File

@@ -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);