>From 6fdfc61f6a95acc031424b83a8c9e4ea1bb2f32e Mon Sep 17 00:00:00 2001
From: Andrew Eikum <aeikum@codeweavers.com>
Date: Mon, 14 Jun 2010 11:03:15 -0500
Subject: shell32: Use more accurate PathIsURL instead of searching for a colon
To: wine-patches <wine-patches@winehq.org>
Reply-To: wine-devel <wine-devel@winehq.org>

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

