[PATCH 2/3] shell32: Use more accurate PathIsURL instead of searching for a colon
Alexandre Julliard
julliard at winehq.org
Mon Jun 28 06:29:16 CDT 2010
Andrew Eikum <aeikum at codeweavers.com> writes:
> diff --git a/dlls/shell32/shfldr_desktop.c b/dlls/shell32/shfldr_desktop.c
> index 30aea3b..54d13dc 100644
> --- a/dlls/shell32/shfldr_desktop.c
> +++ b/dlls/shell32/shfldr_desktop.c
> @@ -193,7 +193,7 @@ static HRESULT WINAPI ISF_Desktop_fnParseDisplayName (IShellFolder2 * iface,
> *ppidl = pidlTemp;
> return S_OK;
> }
> - else if (strchrW(lpszDisplayName,':'))
> + else if (PathIsURLW(lpszDisplayName))
> {
A better way would be to check the result of the ParseURLW call.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list