mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +00:00
[CMD]
Terminate lines that show environment results from the SET command. svn path=/trunk/; revision=56709
This commit is contained in:
parent
21f37478bb
commit
3d92fc02e4
1 changed files with 2 additions and 0 deletions
|
@ -96,6 +96,7 @@ INT cmd_set (LPTSTR param)
|
||||||
if (*lpOutput != _T('='))
|
if (*lpOutput != _T('='))
|
||||||
ConOutPuts(lpOutput);
|
ConOutPuts(lpOutput);
|
||||||
lpOutput += _tcslen(lpOutput) + 1;
|
lpOutput += _tcslen(lpOutput) + 1;
|
||||||
|
ConOutPuts(_T("\r\n"));
|
||||||
}
|
}
|
||||||
FreeEnvironmentStrings (lpEnv);
|
FreeEnvironmentStrings (lpEnv);
|
||||||
}
|
}
|
||||||
|
@ -184,6 +185,7 @@ INT cmd_set (LPTSTR param)
|
||||||
if (!_tcsnicmp(lpOutput, param, p - param))
|
if (!_tcsnicmp(lpOutput, param, p - param))
|
||||||
{
|
{
|
||||||
ConOutPuts(lpOutput);
|
ConOutPuts(lpOutput);
|
||||||
|
ConOutPuts(_T("\r\n"));
|
||||||
bFound = TRUE;
|
bFound = TRUE;
|
||||||
}
|
}
|
||||||
lpOutput += _tcslen(lpOutput) + 1;
|
lpOutput += _tcslen(lpOutput) + 1;
|
||||||
|
|
Loading…
Reference in a new issue