mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
patch 8.2.3551: checking first character of url twice
Problem: Checking first character of url twice. Solution: Only check once. (closes #9026)
This commit is contained in:
parent
ae38a9db77
commit
94e7d345c1
@ -2643,7 +2643,7 @@ path_with_url(char_u *fname)
|
|||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
// check body: alpha or dash
|
// check body: alpha or dash
|
||||||
for (p = fname; (isalpha(*p) || (*p == '-')); ++p)
|
for (p = fname + 1; (isalpha(*p) || (*p == '-')); ++p)
|
||||||
;
|
;
|
||||||
|
|
||||||
// check last char is not a dash
|
// check last char is not a dash
|
||||||
|
@ -757,6 +757,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
3551,
|
||||||
/**/
|
/**/
|
||||||
3550,
|
3550,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user