In ShellExecute16, make sure there is a space between command and

parameters.
This commit is contained in:
Rein Klazes 2002-02-14 19:20:30 +00:00 committed by Alexandre Julliard
parent f6a3a52180
commit 0753967327
1 changed files with 4 additions and 1 deletions

View File

@ -358,7 +358,10 @@ HINSTANCE16 WINAPI ShellExecute16( HWND16 hWnd, LPCSTR lpOperation,
/* First try to execute lpFile with lpParameters directly */
strcpy(cmd,lpFile);
strcat(cmd,lpParameters ? lpParameters : "");
if (lpParameters) {
strcat(cmd, " " );
strcat(cmd,lpParameters );
}
retval = WinExec16( cmd, iShowCmd );