0
0
mirror of https://github.com/vim/vim.git synced 2025-10-14 07:04:10 -04:00

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.
This commit is contained in:
Bram Moolenaar
2022-11-22 22:03:39 +00:00
parent a787c24e00
commit c3e06e4bfa
2 changed files with 3 additions and 1 deletions

View File

@@ -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
{

View File

@@ -695,6 +695,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
924,
/**/
923,
/**/