From c3e06e4bfa56714ff59423c2fb5868ae2334727b Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Tue, 22 Nov 2022 22:03:39 +0000 Subject: [PATCH] patch 9.0.0924: the first termcap entry of a builtin termcap is not used Problem: The first termcap entry of a builtin termcap is not used. Solution: Remove increment that was previously skipping the KS_NAME entry. --- src/term.c | 2 +- src/version.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/term.c b/src/term.c index 0e665d0b3..bb1e283be 100644 --- a/src/term.c +++ b/src/term.c @@ -1507,7 +1507,7 @@ parse_builtin_tcap(char_u *term) int term_8bit = term_is_8bit(term); - for (++p; p->bt_entry != (int)KS_NAME && p->bt_entry != BT_EXTRA_KEYS; ++p) + for ( ; p->bt_entry != (int)KS_NAME && p->bt_entry != BT_EXTRA_KEYS; ++p) { if ((int)p->bt_entry >= 0) // KS_xx entry { diff --git a/src/version.c b/src/version.c index cd2023cdd..cbc05549f 100644 --- a/src/version.c +++ b/src/version.c @@ -695,6 +695,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 924, /**/ 923, /**/ -- 2.40.0