shell32: Use more accurate PathIsURL instead of searching for a colon
Andrew Eikum
aeikum at codeweavers.com
Mon Jun 14 11:03:15 CDT 2010
This ensures that UNIX paths with a colon aren't parsed as URLs.
---
dlls/shell32/shfldr_desktop.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
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))
{
PARSEDURLW urldata;
--
1.7.1
--------------070901090706050309080404
Content-Type: text/x-diff;
name="0002-shell32-UNIX-paths-should-be-parsed-by-unixfs.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename*0="0002-shell32-UNIX-paths-should-be-parsed-by-unixfs.patch"
More information about the wine-devel
mailing list