mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 10:35:28 +00:00
[CMD] Fix the output of the SET command.
This commit is contained in:
parent
ca4523658c
commit
e3ed502bb6
1 changed files with 4 additions and 1 deletions
|
@ -92,10 +92,13 @@ INT cmd_set(LPTSTR param)
|
||||||
lpOutput = lpEnv;
|
lpOutput = lpEnv;
|
||||||
while (*lpOutput)
|
while (*lpOutput)
|
||||||
{
|
{
|
||||||
|
/* Do not display the special '=X:' environment variables */
|
||||||
if (*lpOutput != _T('='))
|
if (*lpOutput != _T('='))
|
||||||
|
{
|
||||||
ConOutPuts(lpOutput);
|
ConOutPuts(lpOutput);
|
||||||
|
ConOutChar(_T('\n'));
|
||||||
|
}
|
||||||
lpOutput += _tcslen(lpOutput) + 1;
|
lpOutput += _tcslen(lpOutput) + 1;
|
||||||
ConOutChar(_T('\n'));
|
|
||||||
}
|
}
|
||||||
FreeEnvironmentStrings(lpEnv);
|
FreeEnvironmentStrings(lpEnv);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue