From: Bram Moolenaar Date: Thu, 23 Feb 2023 13:54:01 +0000 (+0000) Subject: patch 9.0.1344: check for OSC escape sequence doesn't work X-Git-Tag: v9.0.1344 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a8f0835a6b5af5bf099dc9831bdc68edb8b69ba8;p=vim patch 9.0.1344: check for OSC escape sequence doesn't work Problem: Check for OSC escape sequence doesn't work. Solution: Fix typo in index. --- diff --git a/src/term.c b/src/term.c index ab1ad570e..2f0a0cb4d 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 caa030553..9176a8bfc 100644 --- a/src/version.c +++ b/src/version.c @@ -695,6 +695,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1344, /**/ 1343, /**/