0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

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.
This commit is contained in:
Bram Moolenaar 2023-02-23 13:54:01 +00:00
parent 3451789f58
commit a8f0835a6b
2 changed files with 3 additions and 1 deletions

View File

@ -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);

View File

@ -695,6 +695,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1344,
/**/
1343,
/**/