reactos/lib/shell32
diff -u -r1.22 -r1.23
--- shlexec.c 16 Feb 2004 21:46:12 -0000 1.22
+++ shlexec.c 2 Mar 2004 10:30:38 -0000 1.23
@@ -1219,7 +1219,7 @@
}
else if (PathIsURLW((LPWSTR)lpFile)) /* File not found, check for URL */
{
- static const WCHAR wszShell[] = {'\\','s','h','e','l','l',0};
+ static const WCHAR wszShell[] = {'\\','s','h','e','l','l','\\',0};
static const WCHAR wCommand[] = {'\\','c','o','m','m','a','n','d',0};
LPWSTR lpstrRes;
INT iSize;
@@ -1346,16 +1346,14 @@
ret = ShellExecuteExW32 (&seiW, SHELL_ExecuteW);
+ sei->hInstApp = seiW.hInstApp;
+
if (wVerb) SHFree(wVerb);
if (wFile) SHFree(wFile);
if (wParameters) SHFree(wParameters);
if (wDirectory) SHFree(wDirectory);
if (wClass) SHFree(wClass);
- sei->hInstApp = seiW.hInstApp;
-
- TRACE("ShellExecuteExW(): ret=%d\n", ret);
-
return ret;
}