patch 9.2.0045: wrongly resetting the foreground cterm color

Commit: 
https://github.com/vim/vim/commit/201562401b815ffe573dc8aeb0e34dd209107bec
Author: Yasuhiro Matsumoto <[email protected]>
Date:   Sun Feb 22 20:00:52 2026 +0000

    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]>

diff --git a/src/screen.c b/src/screen.c
index b3fe3705e..fa686d2b4 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -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 *)" [39m");
        }
        else
 #endif
diff --git a/src/version.c b/src/version.c
index 60402395d..e255702ce 100644
--- a/src/version.c
+++ b/src/version.c
@@ -734,6 +734,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    45,
 /**/
     44,
 /**/

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/vim_dev/E1vuFr5-007tqB-5W%40256bit.org.

Raspunde prin e-mail lui