To: vim_dev@googlegroups.com Subject: Patch 9.0.1343 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 9.0.1343 Problem: Check for OSC escape sequence doesn't work. Solution: Move square bracket to the right place. (Johan Mattsson, closes #12048) Files: src/term.c *** ../vim-9.0.1342/src/term.c 2023-02-21 14:27:34.524360386 +0000 --- src/term.c 2023-02-23 12:44:12.354702231 +0000 *************** *** 5716,5722 **** if (i - j >= 15 && STRNCMP(tp + j + 3, "rgb:", 4) == 0 && (is_4digit ! || (tp[j + 9] == '/' && tp[i + 12 == '/']))) { char_u *tp_r = tp + j + 7; char_u *tp_g = tp + j + (is_4digit ? 12 : 10); --- 5716,5722 ---- if (i - j >= 15 && STRNCMP(tp + j + 3, "rgb:", 4) == 0 && (is_4digit ! || (tp[j + 9] == '/' && tp[i + 12] == '/'))) { char_u *tp_r = tp + j + 7; char_u *tp_g = tp + j + (is_4digit ? 12 : 10); *** ../vim-9.0.1342/src/version.c 2023-02-23 12:36:19.347923575 +0000 --- src/version.c 2023-02-23 12:45:43.427114514 +0000 *************** *** 697,698 **** --- 697,700 ---- { /* Add new patch number below this line */ + /**/ + 1343, /**/ -- hundred-and-one symptoms of being an internet addict: 169. You hire a housekeeper for your home page. /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///