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:
Ge van Geldorp 2005-11-28 17:29:58 +01:00 committed by Alexandre Julliard
parent f1522445f3
commit 72ed6eae4c
1 changed files with 1 additions and 3 deletions

View File

@ -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));
}