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 -- [email protected] -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/20211021170140.38F76C80053%40moolenaar.net.