wine/dlls/shell32 shlexec.c

Alexandre Julliard julliard at wine.codeweavers.com
Mon Nov 28 14:04:09 CST 2005


ChangeSet ID:	21500
CVSROOT:	/opt/cvs-commit
Module name:	wine
Changes by:	julliard at winehq.org	2005/11/28 14:04:09

Modified files:
	dlls/shell32   : shlexec.c 

Log message:
	Ge van Geldorp <gvg at reactos.org>
	Other code in shlexec.c (e.g. the extension handling code in
	ShellExecute_GetClassKey) expects sei->lpFile to not be enclosed in
	quotes.

Patch: http://cvs.winehq.org/patch.py?id=21500

Old revision  New revision  Changes     Path
 1.76          1.77          +1 -3       wine/dlls/shell32/shlexec.c

Index: wine/dlls/shell32/shlexec.c
diff -u -p wine/dlls/shell32/shlexec.c:1.76 wine/dlls/shell32/shlexec.c:1.77
--- wine/dlls/shell32/shlexec.c:1.76	28 Nov 2005 20: 4: 9 -0000
+++ wine/dlls/shell32/shlexec.c	28 Nov 2005 20: 4: 9 -0000
@@ -1266,9 +1266,7 @@ BOOL SHELL_execute( LPSHELLEXECUTEINFOW 
 		return TRUE;
 	}
 
-        wszApplicationName[0] = '"';
-        SHGetPathFromIDListW(sei_tmp.lpIDList, wszApplicationName+1);
-        strcatW(wszApplicationName, wQuote);
+        SHGetPathFromIDListW(sei_tmp.lpIDList, wszApplicationName);
         TRACE("-- idlist=%p (%s)\n", sei_tmp.lpIDList, debugstr_w(wszApplicationName));
     }
 



More information about the wine-cvs mailing list