Terminate lines that show environment results from the SET command.

svn path=/trunk/; revision=56709
This commit is contained in:
Art Yerkes 2012-06-07 22:41:22 +00:00
parent 21f37478bb
commit 3d92fc02e4

View file

@ -96,6 +96,7 @@ INT cmd_set (LPTSTR param)
if (*lpOutput != _T('='))
ConOutPuts(lpOutput);
lpOutput += _tcslen(lpOutput) + 1;
ConOutPuts(_T("\r\n"));
}
FreeEnvironmentStrings (lpEnv);
}
@ -184,6 +185,7 @@ INT cmd_set (LPTSTR param)
if (!_tcsnicmp(lpOutput, param, p - param))
{
ConOutPuts(lpOutput);
ConOutPuts(_T("\r\n"));
bFound = TRUE;
}
lpOutput += _tcslen(lpOutput) + 1;