Skip to content

Commit 2015624

Browse files
mattnchrisbra
authored andcommitted
patch 9.2.0045: wrongly resetting the foreground cterm color
Problem: wrongly resetting the foreground cterm color (lilydjwg, after v9.2.0017) Solution: Remove useless statement (Yasuhiro Matsumoto). fixes: #19485 closes: #19486 Signed-off-by: Yasuhiro Matsumoto <[email protected]> Signed-off-by: Christian Brabandt <[email protected]>
1 parent e44b418 commit 2015624

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/screen.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1817,9 +1817,6 @@ screen_start_highlight(int attr)
18171817
{
18181818
if (aep->ae_u.cterm.fg_rgb != INVALCOLOR)
18191819
term_fg_rgb_color(aep->ae_u.cterm.fg_rgb);
1820-
else
1821-
// Reset to default foreground color (SGR 39)
1822-
out_str((char_u *)"\033[39m");
18231820
}
18241821
else
18251822
#endif

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -734,6 +734,8 @@ static char *(features[]) =
734734

735735
static int included_patches[] =
736736
{ /* Add new patch number below this line */
737+
/**/
738+
45,
737739
/**/
738740
44,
739741
/**/

0 commit comments

Comments
 (0)