patch 9.1.0090: Assigning wrong colors when parsing terminal OSC response

Commit: 
https://github.com/vim/vim/commit/45932c5c4a9ec01f7c2aa09b1574430853dafb4b
Author: Maxim Kim <haba...@gmail.com>
Date:   Fri Feb 9 23:11:54 2024 +0100

    patch 9.1.0090: Assigning wrong colors when parsing terminal OSC response
    
    Problem:  Assigning wrong colors when parsing terminal OSC response
    Solution: Correctly assign Green and Blue from the terminal response
              (Maxim Kim)
    
    closes: #13981
    
    Signed-off-by: Maxim Kim <haba...@gmail.com>
    Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/src/term.c b/src/term.c
index 44d7443dd..8aa86ce03 100644
--- a/src/term.c
+++ b/src/term.c
@@ -5768,8 +5768,8 @@ handle_osc(char_u *tp, char_u *argp, int len, char_u 
*key_name, int *slen)
                    int rval, gval, bval;
 
                    rval = hexhex2nr(tp_r);
-                   gval = hexhex2nr(tp_b);
-                   bval = hexhex2nr(tp_g);
+                   gval = hexhex2nr(tp_g);
+                   bval = hexhex2nr(tp_b);
 #endif
                    if (is_bg)
                    {
diff --git a/src/version.c b/src/version.c
index a4132dbeb..6beeabbd0 100644
--- a/src/version.c
+++ b/src/version.c
@@ -704,6 +704,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    90,
 /**/
     89,
 /**/

-- 
-- 
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 vim_dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/E1rYZ9E-005qvx-Aq%40256bit.org.

Raspunde prin e-mail lui