To: vim_dev@googlegroups.com Subject: Patch 8.2.3551 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.3551 Problem: Checking first character of url twice. Solution: Only check once. (closes #9026) Files: src/misc1.c *** ../vim-8.2.3550/src/misc1.c 2021-10-03 15:19:09.821731156 +0100 --- src/misc1.c 2021-10-21 17:59:41.471908484 +0100 *************** *** 2643,2649 **** return 0; // check body: alpha or dash ! for (p = fname; (isalpha(*p) || (*p == '-')); ++p) ; // check last char is not a dash --- 2643,2649 ---- return 0; // check body: alpha or dash ! for (p = fname + 1; (isalpha(*p) || (*p == '-')); ++p) ; // check last char is not a dash *** ../vim-8.2.3550/src/version.c 2021-10-21 11:39:49.825486269 +0100 --- src/version.c 2021-10-21 18:00:55.800842938 +0100 *************** *** 759,760 **** --- 759,762 ---- { /* Add new patch number below this line */ + /**/ + 3551, /**/ -- hundred-and-one symptoms of being an internet addict: 216. Your pet rock leaves home. /// 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 ///