comparison src/charset.c @ 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 a4dcf15f8014
children 8f71840ecf07
comparison
equal deleted inserted replaced
29563:4ab4529a7031 29564:7234ae4e0158
769 win_linetabsize(win_T *wp, linenr_T lnum, char_u *line, colnr_T len) 769 win_linetabsize(win_T *wp, linenr_T lnum, char_u *line, colnr_T len)
770 { 770 {
771 chartabsize_T cts; 771 chartabsize_T cts;
772 772
773 init_chartabsize_arg(&cts, wp, lnum, 0, line, line); 773 init_chartabsize_arg(&cts, wp, lnum, 0, line, line);
774 #ifdef FEAT_PROP_POPUP
774 cts.cts_with_trailing = len == MAXCOL; 775 cts.cts_with_trailing = len == MAXCOL;
776 #endif
775 for ( ; *cts.cts_ptr != NUL && (len == MAXCOL || cts.cts_ptr < line + len); 777 for ( ; *cts.cts_ptr != NUL && (len == MAXCOL || cts.cts_ptr < line + len);
776 MB_PTR_ADV(cts.cts_ptr)) 778 MB_PTR_ADV(cts.cts_ptr))
777 cts.cts_vcol += win_lbr_chartabsize(&cts, NULL); 779 cts.cts_vcol += win_lbr_chartabsize(&cts, NULL);
778 clear_chartabsize_arg(&cts); 780 clear_chartabsize_arg(&cts);
779 return (int)cts.cts_vcol; 781 return (int)cts.cts_vcol;