summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-11-22 22:03:39 +0000
committerBram Moolenaar <Bram@vim.org>2022-11-22 22:03:39 +0000
commitc3e06e4bfa56714ff59423c2fb5868ae2334727b (patch)
treef786014884978cbb323a34c29d78a284fcf5fbef
parenta787c24e009b46955fb03a1f51b745e5e9795b7b (diff)
downloadvim-git-c3e06e4bfa56714ff59423c2fb5868ae2334727b.tar.gz
patch 9.0.0924: the first termcap entry of a builtin termcap is not usedv9.0.0924
Problem: The first termcap entry of a builtin termcap is not used. Solution: Remove increment that was previously skipping the KS_NAME entry.
-rw-r--r--src/term.c2
-rw-r--r--src/version.c2
2 files changed, 3 insertions, 1 deletions
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
@@ -696,6 +696,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 924,
+/**/
923,
/**/
922,