Author: hbelusca
Date: Thu Apr 2 23:47:00 2015
New Revision: 67012
URL:
http://svn.reactos.org/svn/reactos?rev=67012&view=rev
Log:
[CMD]: When the CD command echoes the current path, it should return to a newline.
CORE-6810
Modified:
trunk/reactos/base/shell/cmd/internal.c
Modified: trunk/reactos/base/shell/cmd/internal.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/shell/cmd/internal.c?…
==============================================================================
--- trunk/reactos/base/shell/cmd/internal.c [iso-8859-1] (original)
+++ trunk/reactos/base/shell/cmd/internal.c [iso-8859-1] Thu Apr 2 23:47:00 2015
@@ -241,7 +241,7 @@
error_invalid_drive();
return 1;
}
- ConOutPuts(szCurrent);
+ ConOutPrintf(_T("%s\n"), szCurrent);
return 0;
}
@@ -249,7 +249,7 @@
GetCurrentDirectory(MAX_PATH, szCurrent);
if (param[0] == _T('\0'))
{
- ConOutPuts(szCurrent);
+ ConOutPrintf(_T("%s\n"), szCurrent);
return 0;
}