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
index 0e665d0..bb1e283 100644
--- a/src/term.c
+++ b/src/term.c
@@ -1507,7 +1507,7 @@
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
{