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

1 view
Skip to first unread message

Christian Brabandt

unread,
May 21, 2026, 4:15:17 PM (17 hours ago) May 21
to vim...@googlegroups.com
patch 9.2.0509: term.c: compile error when LOG_TRN is enabled

Commit: https://github.com/vim/vim/commit/daad5ea9058fae5c5c0014a0b49963d12caea9f8
Author: Muraoka Taro <koron....@gmail.com>
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 <koron....@gmail.com>
Signed-off-by: Christian Brabandt <c...@256bit.org>

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,
/**/
Reply all
Reply to author
Forward
0 new messages