Commit 07539673 authored by Rein Klazes's avatar Rein Klazes Committed by Alexandre Julliard

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

parameters.
parent f6a3a521
......@@ -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 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment