From: Muraoka Taro Date: Thu, 21 May 2026 20:05:14 +0000 (+0000) Subject: patch 9.2.0509: term.c: compile error when LOG_TRN is enabled X-Git-Tag: v9.2.0509^0 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=daad5ea9058fae5c5c0014a0b49963d12caea9f8;p=thirdparty%2Fvim.git 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 Signed-off-by: Christian Brabandt --- diff --git a/src/term.c b/src/term.c index 08a070cef6..1e7ea22ae5 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 40b26d7cfe..7b80b546f3 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, /**/