mirror of
https://github.com/reactos/reactos.git
synced 2026-05-31 08:17:09 +08:00
[CMD] Fix the output of the SET command.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user