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,11 +92,14 @@ INT cmd_set(LPTSTR param)
|
|||
lpOutput = lpEnv;
|
||||
while (*lpOutput)
|
||||
{
|
||||
/* Do not display the special '=X:' environment variables */
|
||||
if (*lpOutput != _T('='))
|
||||
{
|
||||
ConOutPuts(lpOutput);
|
||||
lpOutput += _tcslen(lpOutput) + 1;
|
||||
ConOutChar(_T('\n'));
|
||||
}
|
||||
lpOutput += _tcslen(lpOutput) + 1;
|
||||
}
|
||||
FreeEnvironmentStrings(lpEnv);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue