mirror of
https://github.com/reactos/wine.git
synced 2025-01-19 10:13:01 +00:00
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;
|
||||
if ( This->sArgs )
|
||||
lstrcatW( args, This->sArgs );
|
||||
if ( iciex->lpParametersW )
|
||||
if ( iciex->lpParametersW && iciex->lpParametersW[0] )
|
||||
{
|
||||
static const WCHAR space[] = { ' ', 0 };
|
||||
lstrcatW( args, space );
|
||||
|
Loading…
x
Reference in New Issue
Block a user