at_en.ae_u.cterm.bg_color = sgp->sg_cterm_bg;
at_en.ae_u.cterm.ul_color = sgp->sg_cterm_ul;
# ifdef FEAT_TERMGUICOLORS
-# ifdef MSWIN
-# ifdef VIMDLL
- // Only when not using the GUI.
- if (!gui.in_use && !gui.starting)
-# endif
- {
- int id;
- guicolor_T fg, bg;
-
- id = syn_name2id((char_u *)"Normal");
- if (id > 0)
- {
- syn_id2colors(id, &fg, &bg);
- if (sgp->sg_gui_fg == INVALCOLOR)
- sgp->sg_gui_fg = fg;
- if (sgp->sg_gui_bg == INVALCOLOR)
- sgp->sg_gui_bg = bg;
- }
-
- }
-# endif
at_en.ae_u.cterm.fg_rgb = GUI_MCH_GET_RGB2(sgp->sg_gui_fg);
at_en.ae_u.cterm.bg_rgb = GUI_MCH_GET_RGB2(sgp->sg_gui_bg);
// Only use the underline/undercurl color when used, it may clear the