changeset 29564:7234ae4e0158 v9.0.0123

patch 9.0.0123: cannot build with small features Commit: https://github.com/vim/vim/commit/c146d974f13450453a7c1f5ab10b105c515f0ccb Author: Bram Moolenaar <Bram@vim.org> 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.
author Bram Moolenaar <Bram@vim.org>
date Sun, 31 Jul 2022 19:15:04 +0200
parents 4ab4529a7031
children 54893d648fd5
files src/charset.c src/version.c
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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);
--- 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,