28 Jun
2010
28 Jun
'10
11:29 a.m.
Andrew Eikum <aeikum(a)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(a)winehq.org