Commit 9ed8857f authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

PathIsURL should return TRUE even if a scheme is unknown.

parent 01a88ff0
......@@ -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);
}
/*************************************************************************
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment