Commit 72ed6eae authored by Ge van Geldorp's avatar Ge van Geldorp Committed by Alexandre Julliard

Other code in shlexec.c (e.g. the extension handling code in

ShellExecute_GetClassKey) expects sei->lpFile to not be enclosed in quotes.
parent f1522445
...@@ -1266,9 +1266,7 @@ BOOL SHELL_execute( LPSHELLEXECUTEINFOW sei, SHELL_ExecuteW32 execfunc ) ...@@ -1266,9 +1266,7 @@ BOOL SHELL_execute( LPSHELLEXECUTEINFOW sei, SHELL_ExecuteW32 execfunc )
return TRUE; return TRUE;
} }
wszApplicationName[0] = '"'; SHGetPathFromIDListW(sei_tmp.lpIDList, wszApplicationName);
SHGetPathFromIDListW(sei_tmp.lpIDList, wszApplicationName+1);
strcatW(wszApplicationName, wQuote);
TRACE("-- idlist=%p (%s)\n", sei_tmp.lpIDList, debugstr_w(wszApplicationName)); TRACE("-- idlist=%p (%s)\n", sei_tmp.lpIDList, debugstr_w(wszApplicationName));
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment