[CMD]: When the CD command echoes the current path, it should return to a newline.

CORE-6810

svn path=/trunk/; revision=67012
This commit is contained in:
Hermès Bélusca-Maïto 2015-04-02 23:47:00 +00:00
parent aa68fcbde6
commit 313061d22a

View file

@ -241,7 +241,7 @@ INT cmd_chdir (LPTSTR param)
error_invalid_drive(); error_invalid_drive();
return 1; return 1;
} }
ConOutPuts(szCurrent); ConOutPrintf(_T("%s\n"), szCurrent);
return 0; return 0;
} }
@ -249,7 +249,7 @@ INT cmd_chdir (LPTSTR param)
GetCurrentDirectory(MAX_PATH, szCurrent); GetCurrentDirectory(MAX_PATH, szCurrent);
if (param[0] == _T('\0')) if (param[0] == _T('\0'))
{ {
ConOutPuts(szCurrent); ConOutPrintf(_T("%s\n"), szCurrent);
return 0; return 0;
} }