summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2023-02-23 13:54:01 +0000
committerBram Moolenaar <Bram@vim.org>2023-02-23 13:54:01 +0000
commita8f0835a6b5af5bf099dc9831bdc68edb8b69ba8 (patch)
tree5a4422839b5ea3aa85a3e08acb5cf586ed960dcd
parent3451789f58b24d48fc97301a01a8d27bd154caf5 (diff)
patch 9.0.1344: check for OSC escape sequence doesn't workv9.0.1344
Problem: Check for OSC escape sequence doesn't work. Solution: Fix typo in index.
-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 ab1ad570eb..2f0a0cb4d7 100644
--- a/src/term.c
+++ b/src/term.c
@@ -5716,7 +5716,7 @@ handle_osc(char_u *tp, char_u *argp, int len, char_u *key_name, int *slen)
if (i - j >= 15 && STRNCMP(tp + j + 3, "rgb:", 4) == 0
&& (is_4digit
- || (tp[j + 9] == '/' && tp[i + 12] == '/')))
+ || (tp[j + 9] == '/' && tp[j + 12] == '/')))
{
char_u *tp_r = tp + j + 7;
char_u *tp_g = tp + j + (is_4digit ? 12 : 10);
diff --git a/src/version.c b/src/version.c
index caa0305533..9176a8bfc3 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 */
/**/
+ 1344,
+/**/
1343,
/**/
1342,