mirror of
https://github.com/reactos/wine.git
synced 2025-02-16 10:59:45 +00:00
In ShellExecute16, make sure there is a space between command and
parameters.
This commit is contained in:
parent
f6a3a52180
commit
0753967327
@ -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 );
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user