shellexecute: fix for urls

Huw D M Davies h.davies1 at physics.ox.ac.uk
Mon Mar 1 08:49:16 CST 2004


        Huw Davies <huw at codeweavers.com>
        Add a missing '\\'
-- 
Huw Davies
huw at codeweavers.com
Index: dlls/shell32/shlexec.c
===================================================================
RCS file: /home/wine/wine/dlls/shell32/shlexec.c,v
retrieving revision 1.29
diff -u -r1.29 shlexec.c
--- dlls/shell32/shlexec.c	12 Feb 2004 20:04:09 -0000	1.29
+++ dlls/shell32/shlexec.c	1 Mar 2004 14:42:11 -0000
@@ -806,7 +806,7 @@
     }
     else if (PathIsURLW((LPWSTR)lpFile))    /* File not found, check for URL */
     {
-	static const WCHAR wShell[] = {'\\','s','h','e','l','l',0};
+	static const WCHAR wShell[] = {'\\','s','h','e','l','l','\\',0};
 	static const WCHAR wCommand[] = {'\\','c','o','m','m','a','n','d',0};
         LPWSTR lpstrRes;
         INT iSize;



More information about the wine-patches mailing list