Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
patch 8.1.0123: MS-Windows: colors are wrong after setting 'notgc'
Problem:    MS-Windows: colors are wrong after setting 'notgc'.
Solution:   Only call control_console_color_rgb() for the win32 terminal.
            (Nobuhiro Takasaki, closes #3107)
  • Loading branch information
brammool committed Jun 28, 2018
1 parent 0c18319 commit b0eb14f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/option.c
Expand Up @@ -8819,10 +8819,13 @@ set_bool_option(
# endif
highlight_gui_started();
# ifdef FEAT_VTP
control_console_color_rgb();
/* reset t_Co */
if (is_term_win32())
{
control_console_color_rgb();
set_termname(T_NAME);
init_highlight(TRUE, FALSE);
}
# endif
}
#endif
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Expand Up @@ -789,6 +789,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
123,
/**/
122,
/**/
Expand Down

0 comments on commit b0eb14f

Please sign in to comment.