Andrew Eikum <[email protected]> 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
[email protected]


Reply via email to