start: Fix the name of the open verb for the /ProgIDOpen option.

Francois Gouget fgouget at codeweavers.com
Fri Jun 29 16:31:27 CDT 2012


In particular this fixes Wine's desktop files that start .lnk shortcuts for the Start Menu.
---

This fixes bug 31073.

 programs/start/start.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/programs/start/start.c b/programs/start/start.c
index 8eb7148..f3d934e 100644
--- a/programs/start/start.c
+++ b/programs/start/start.c
@@ -207,7 +207,7 @@ int wmain (int argc, WCHAR *argv[])
 	static const WCHAR unixW[] = { '/', 'u', 'n', 'i', 'x', 0 };
 	static const WCHAR progIDOpenW[] =
 		{ '/', 'p', 'r', 'o', 'g', 'I', 'D', 'O', 'p', 'e', 'n', 0};
-	static const WCHAR openW[] = { '/', 'o', 'p', 'e', 'n', 0 };
+	static const WCHAR openW[] = { 'o', 'p', 'e', 'n', 0 };
 	static const WCHAR cmdW[] = { 'c', 'm', 'd', '.', 'e', 'x', 'e', 0 };
 
 	memset(&sei, 0, sizeof(sei));
-- 
1.7.10



More information about the wine-patches mailing list