shell32: Don't append a trailing space to the arguments in a shell link if the command info has an empty parameters string.
This commit is contained in:
parent
299a48075d
commit
1449090985
|
@ -2449,7 +2449,7 @@ ShellLink_InvokeCommand( IContextMenu* iface, LPCMINVOKECOMMANDINFO lpici )
|
||||||
args[0] = 0;
|
args[0] = 0;
|
||||||
if ( This->sArgs )
|
if ( This->sArgs )
|
||||||
lstrcatW( args, This->sArgs );
|
lstrcatW( args, This->sArgs );
|
||||||
if ( iciex->lpParametersW )
|
if ( iciex->lpParametersW && iciex->lpParametersW[0] )
|
||||||
{
|
{
|
||||||
static const WCHAR space[] = { ' ', 0 };
|
static const WCHAR space[] = { ' ', 0 };
|
||||||
lstrcatW( args, space );
|
lstrcatW( args, space );
|
||||||
|
|
Loading…
Reference in New Issue