mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
Fix compilation.
svn path=/trunk/; revision=67506
This commit is contained in:
@@ -260,7 +260,7 @@ Command:
|
||||
DPRINT1("Starting '%s' ('%.*s')...\n",
|
||||
AppName,
|
||||
CommandInfo.CmdLen >= 2 ? CommandInfo.CmdLen - 2 /* Display the command line without the terminating 0d 0a */
|
||||
: CommandInfo.CmdLen
|
||||
: CommandInfo.CmdLen,
|
||||
CmdLine);
|
||||
Result = DosStartProcess(AppName, CmdLine, Env);
|
||||
if (Result != ERROR_SUCCESS)
|
||||
|
||||
@@ -633,7 +633,7 @@ WORD DosCreateProcess(LPCSTR ProgramName,
|
||||
*/
|
||||
CmdLineSize = min(*(PBYTE)FAR_POINTER(Parameters->CommandLine), DOS_CMDLINE_LENGTH);
|
||||
RtlCopyMemory(CmdLine,
|
||||
FAR_POINTER(Parameters->CommandLine) + 1,
|
||||
(LPSTR)FAR_POINTER(Parameters->CommandLine) + 1,
|
||||
CmdLineSize);
|
||||
/* NULL-terminate it */
|
||||
CmdLine[CmdLineSize] = '\0';
|
||||
|
||||
Reference in New Issue
Block a user