Skip to content
Snippets Groups Projects
Commit 07539673 authored by Rein Klazes's avatar Rein Klazes Committed by Alexandre Julliard
Browse files

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

parameters.
parent f6a3a521
No related branches found
No related tags found
No related merge requests found
......@@ -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 );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment