0
0
mirror of https://github.com/vim/vim.git synced 2025-09-26 04:04:07 -04:00

patch 8.0.1195: can't build on MS-Windows

Problem:    Can't build on MS-Windows.
Solution:   Adjust #ifdef and add #ifdefs.
This commit is contained in:
Bram Moolenaar
2017-10-15 13:22:01 +02:00
parent 65e4c4f686
commit 9377df3ecd
3 changed files with 9 additions and 3 deletions

View File

@@ -2624,8 +2624,10 @@ create_vterm(term_T *term, int rows, int cols)
fg->blue = tmp;
# endif
}
# ifdef FEAT_TERMRESPONSE
else
term_get_fg_color(&fg->red, &fg->green, &fg->blue);
# endif
if (cterm_normal_bg_color > 0)
{
@@ -2636,8 +2638,10 @@ create_vterm(term_T *term, int rows, int cols)
bg->blue = tmp;
# endif
}
# ifdef FEAT_TERMRESPONSE
else
term_get_bg_color(&bg->red, &bg->green, &bg->blue);
# endif
}
vterm_state_set_default_colors(vterm_obtain_state(vterm), fg, bg);