Re: [PATCH 2/3] shell32: Use more accurate PathIsURL instead of searching for a colon
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
5647
Age (days ago)
5647
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard