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:
Ken Thomases 2014-12-22 20:05:43 -06:00 committed by Alexandre Julliard
parent 299a48075d
commit 1449090985
1 changed files with 1 additions and 1 deletions

View File

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