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:
@@ -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
|
||||
{
|
||||
|
@@ -695,6 +695,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
924,
|
||||
/**/
|
||||
923,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user