# HG changeset patch # User Bram Moolenaar # Date 1669155303 -3600 # Node ID 3fddb9e76c8dfa82905618555d1755365f383a0a # Parent 551a8be12cf9f9218d95a8e0e731710775d39587 patch 9.0.0924: the first termcap entry of a builtin termcap is not used Commit: https://github.com/vim/vim/commit/c3e06e4bfa56714ff59423c2fb5868ae2334727b Author: Bram Moolenaar Date: Tue Nov 22 22:03:39 2022 +0000 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. diff --git a/src/term.c b/src/term.c --- 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 --- a/src/version.c +++ b/src/version.c @@ -696,6 +696,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 924, +/**/ 923, /**/ 922,