mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:54:13 +00:00
In ShellExecute16, make sure there is a space between command and
parameters.
This commit is contained in:
parent
f6a3a52180
commit
0753967327
1 changed files with 4 additions and 1 deletions
|
@ -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…
Reference in a new issue