mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 10:41:12 +00:00
PathIsURL should return TRUE even if a scheme is unknown.
This commit is contained in:
parent
01a88ff01e
commit
9ed8857ffa
1 changed files with 2 additions and 2 deletions
|
@ -2078,7 +2078,7 @@ BOOL WINAPI PathIsURLA(LPCSTR lpstrPath)
|
|||
/* get protocol */
|
||||
base.cbSize = sizeof(base);
|
||||
res1 = ParseURLA(lpstrPath, &base);
|
||||
return (base.nScheme > 0);
|
||||
return (base.nScheme != URL_SCHEME_INVALID);
|
||||
}
|
||||
|
||||
/*************************************************************************
|
||||
|
@ -2096,7 +2096,7 @@ BOOL WINAPI PathIsURLW(LPCWSTR lpstrPath)
|
|||
/* get protocol */
|
||||
base.cbSize = sizeof(base);
|
||||
res1 = ParseURLW(lpstrPath, &base);
|
||||
return (base.nScheme > 0);
|
||||
return (base.nScheme != URL_SCHEME_INVALID);
|
||||
}
|
||||
|
||||
/*************************************************************************
|
||||
|
|
Loading…
Reference in a new issue