mirror of
https://github.com/vim/vim.git
synced 2025-11-14 23:04:02 -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:
committed by
Christian Brabandt
parent
e1e347475e
commit
20ccdc7e50
@@ -3107,11 +3107,13 @@ win_line(
|
|||||||
char_u *p = ptr - (mb_off + 1);
|
char_u *p = ptr - (mb_off + 1);
|
||||||
chartabsize_T cts;
|
chartabsize_T cts;
|
||||||
|
|
||||||
init_chartabsize_arg(&cts, wp, lnum, wlv.vcol
|
|
||||||
|
colnr_T init_colnr = wlv.vcol;
|
||||||
# ifdef FEAT_PROP_POPUP
|
# ifdef FEAT_PROP_POPUP
|
||||||
- vcol_first_char,
|
init_colnr -= vcol_first_char;
|
||||||
# endif
|
# endif
|
||||||
line, p);
|
init_chartabsize_arg(&cts, wp, lnum, init_colnr, line, p);
|
||||||
|
|
||||||
# ifdef FEAT_PROP_POPUP
|
# ifdef FEAT_PROP_POPUP
|
||||||
// do not want virtual text counted here
|
// do not want virtual text counted here
|
||||||
cts.cts_has_prop_with_text = FALSE;
|
cts.cts_has_prop_with_text = FALSE;
|
||||||
|
|||||||
@@ -729,6 +729,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1902,
|
||||||
/**/
|
/**/
|
||||||
1901,
|
1901,
|
||||||
/**/
|
/**/
|
||||||
|
|||||||
Reference in New Issue
Block a user