mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 06:15:52 +00:00
[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:
parent
aa68fcbde6
commit
313061d22a
1 changed files with 2 additions and 2 deletions
|
@ -241,7 +241,7 @@ INT cmd_chdir (LPTSTR param)
|
|||
error_invalid_drive();
|
||||
return 1;
|
||||
}
|
||||
ConOutPuts(szCurrent);
|
||||
ConOutPrintf(_T("%s\n"), szCurrent);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -249,7 +249,7 @@ INT cmd_chdir (LPTSTR param)
|
|||
GetCurrentDirectory(MAX_PATH, szCurrent);
|
||||
if (param[0] == _T('\0'))
|
||||
{
|
||||
ConOutPuts(szCurrent);
|
||||
ConOutPrintf(_T("%s\n"), szCurrent);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue