patch 9.2.0509: term.c: compile error when LOG_TRN is enabled

Commit: 
https://github.com/vim/vim/commit/daad5ea9058fae5c5c0014a0b49963d12caea9f8
Author: Muraoka Taro <[email protected]>
Date:   Thu May 21 20:05:14 2026 +0000

    patch 9.2.0509: term.c: compile error when LOG_TRN is enabled
    
    Problem:  compile error when LOG_TRN is enabled
    Solution: Use valid arguments (Muraoka Taro)
    
    closes: #20278
    
    Signed-off-by: Muraoka Taro <[email protected]>
    Signed-off-by: Christian Brabandt <[email protected]>

diff --git a/src/term.c b/src/term.c
index 08a070cef..1e7ea22ae 100644
--- a/src/term.c
+++ b/src/term.c
@@ -5999,7 +5999,7 @@ check_for_color_response(char_u *resp, int len)
                        char *new_bg_val = (3 * '6' < *tp_r + *tp_g +
                                             *tp_b) ? "light" : "dark";
 
-                       LOG_TRN("Received RBG response: %s", tp);
+                       LOG_TRN("Received RBG response: r=%d g=%d b=%d", rval, 
gval, bval);
 #ifdef FEAT_TERMRESPONSE
                        rbg_status.tr_progress = STATUS_GOT;
 # ifdef FEAT_TERMINAL
@@ -6021,7 +6021,7 @@ check_for_color_response(char_u *resp, int len)
 #if defined(FEAT_TERMRESPONSE) && defined(FEAT_TERMINAL)
                    else
                    {
-                       LOG_TRN("Received RFG response: %s", tp);
+                       LOG_TRN("Received RFG response: r=%d g=%d b=%d", rval, 
gval, bval);
                        rfg_status.tr_progress = STATUS_GOT;
                        fg_r = rval;
                        fg_g = gval;
diff --git a/src/version.c b/src/version.c
index 40b26d7cf..7b80b546f 100644
--- a/src/version.c
+++ b/src/version.c
@@ -729,6 +729,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    509,
 /**/
     508,
 /**/

-- 
-- 
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/E1wQ9nO-00GxZH-CK%40256bit.org.

Raspunde prin e-mail lui