]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.2.0045: wrongly resetting the foreground cterm color v9.2.0045
authorYasuhiro Matsumoto <mattn.jp@gmail.com>
Sun, 22 Feb 2026 20:00:52 +0000 (20:00 +0000)
committerChristian Brabandt <cb@256bit.org>
Sun, 22 Feb 2026 20:00:52 +0000 (20:00 +0000)
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 <mattn.jp@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/screen.c
src/version.c

index b3fe3705e03462702eaf2fb001afea6cba98f51c..fa686d2b4faac4478d19ce5b4603355549d4a5c9 100644 (file)
@@ -1817,9 +1817,6 @@ screen_start_highlight(int attr)
        {
            if (aep->ae_u.cterm.fg_rgb != INVALCOLOR)
                term_fg_rgb_color(aep->ae_u.cterm.fg_rgb);
-           else
-               // Reset to default foreground color (SGR 39)
-               out_str((char_u *)"\033[39m");
        }
        else
 #endif
index 60402395d29ae4fde328861db0ae6d6dd2a27c8b..e255702ce6dc607506d82e3b48099f67c29f7994 100644 (file)
@@ -734,6 +734,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    45,
 /**/
     44,
 /**/