mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 03:05:11 -07:00
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:
parent
eb3888a322
commit
111d34849a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user