0
0
mirror of https://github.com/vim/vim.git synced 2025-11-13 22:54:27 -05:00

patch 9.1.1902: GTK fails to compile with !FEAT_PROP_POPUP

Problem:  GTK fails to compile with !FEAT_PROP_POPUP
Solution: Correct syntax under #ifdef
          (Drew Vogel)

related: #18708

Signed-off-by: Drew Vogel <dvogel@github>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Drew Vogel
2025-11-10 19:58:31 +00:00
committed by Christian Brabandt
parent e1e347475e
commit 20ccdc7e50
2 changed files with 7 additions and 3 deletions

View File

@@ -3107,11 +3107,13 @@ win_line(
char_u *p = ptr - (mb_off + 1);
chartabsize_T cts;
init_chartabsize_arg(&cts, wp, lnum, wlv.vcol
colnr_T init_colnr = wlv.vcol;
# ifdef FEAT_PROP_POPUP
- vcol_first_char,
init_colnr -= vcol_first_char;
# endif
line, p);
init_chartabsize_arg(&cts, wp, lnum, init_colnr, line, p);
# ifdef FEAT_PROP_POPUP
// do not want virtual text counted here
cts.cts_has_prop_with_text = FALSE;

View File

@@ -729,6 +729,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1902,
/**/
1901,
/**/