mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +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;
|
||||
while (*lpOutput)
|
||||
{
|
||||
/* Do not display the special '=X:' environment variables */
|
||||
if (*lpOutput != _T('='))
|
||||
{
|
||||
ConOutPuts(lpOutput);
|
||||
ConOutChar(_T('\n'));
|
||||
}
|
||||
lpOutput += _tcslen(lpOutput) + 1;
|
||||
ConOutChar(_T('\n'));
|
||||
}
|
||||
FreeEnvironmentStrings(lpEnv);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue