vim-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.
6185903e3d
This commit is contained in:
Jan Edmund Lazo 2019-09-21 11:07:07 -04:00
parent eb3888a322
commit 111d34849a
No known key found for this signature in database
GPG Key ID: 64915E6E9F735B15

View File

@ -7569,8 +7569,8 @@ void highlight_changed(void)
{
int id;
char_u userhl[30]; // use 30 to avoid compiler warning
int id_SNC = -1;
int id_S = -1;
int id_SNC = 0;
int hlcnt;
need_highlight_changed = FALSE;