Other code in shlexec.c (e.g. the extension handling code in
ShellExecute_GetClassKey) expects sei->lpFile to not be enclosed in quotes.
This commit is contained in:
parent
f1522445f3
commit
72ed6eae4c
|
@ -1266,9 +1266,7 @@ BOOL SHELL_execute( LPSHELLEXECUTEINFOW sei, SHELL_ExecuteW32 execfunc )
|
|||
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));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue