Skip to content

Commit 6185903

Browse files
committed
patch 8.0.1621: using invalid default value for highlight attribute
Problem: Using invalid default value for highlight attribute. Solution: Use zero instead of -1.
1 parent e26e0d2 commit 6185903

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

src/syntax.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10044,11 +10044,11 @@ highlight_changed(void)
1004410044
#ifdef USER_HIGHLIGHT
1004510045
char_u userhl[10];
1004610046
# ifdef FEAT_STL_OPT
10047-
int id_SNC = -1;
1004810047
int id_S = -1;
10048+
int id_SNC = 0;
1004910049
# ifdef FEAT_TERMINAL
10050-
int id_ST = -1;
10051-
int id_STNC = -1;
10050+
int id_ST = 0;
10051+
int id_STNC = 0;
1005210052
# endif
1005310053
int hlcnt;
1005410054
# endif

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -766,6 +766,8 @@ static char *(features[]) =
766766

767767
static int included_patches[] =
768768
{ /* Add new patch number below this line */
769+
/**/
770+
1621,
769771
/**/
770772
1620,
771773
/**/

0 commit comments

Comments
 (0)