forked from aniani/vim
patch 8.0.0142
Problem: Normal colors are wrong with 'termguicolors'. Solution: Initialize to INVALCOLOR instead of zero. (Ben Jackson, closes #1344)
This commit is contained in:
parent
bc2eada542
commit
0cdb72aa38
@ -8765,6 +8765,10 @@ hl_combine_attr(int char_attr, int prim_attr)
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
vim_memset(&new_en, 0, sizeof(new_en));
|
vim_memset(&new_en, 0, sizeof(new_en));
|
||||||
|
#ifdef FEAT_TERMGUICOLORS
|
||||||
|
new_en.ae_u.cterm.bg_rgb = INVALCOLOR;
|
||||||
|
new_en.ae_u.cterm.fg_rgb = INVALCOLOR;
|
||||||
|
#endif
|
||||||
if (char_attr <= HL_ALL)
|
if (char_attr <= HL_ALL)
|
||||||
new_en.ae_attr = char_attr;
|
new_en.ae_attr = char_attr;
|
||||||
}
|
}
|
||||||
|
@ -764,6 +764,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 */
|
||||||
|
/**/
|
||||||
|
142,
|
||||||
/**/
|
/**/
|
||||||
141,
|
141,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user