Author: fireball
Date: Sun Jul 8 19:43:25 2012
New Revision: 56858
URL:
http://svn.reactos.org/svn/reactos?rev=56858&view=rev
Log:
[CMD]
- Fix missing new line in the timer command results. Spotted by Mikael Lyngvig.
See issue #7140 for more details.
Modified:
trunk/reactos/base/shell/cmd/timer.c
Modified: trunk/reactos/base/shell/cmd/timer.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/shell/cmd/timer.c?rev…
==============================================================================
--- trunk/reactos/base/shell/cmd/timer.c [iso-8859-1] (original)
+++ trunk/reactos/base/shell/cmd/timer.c [iso-8859-1] Sun Jul 8 19:43:25 2012
@@ -163,7 +163,7 @@
if(cS)
{
ConOutResPrintf
(STRING_TIMER_TIME,clk_n,cS?_T("ON"):_T("OFF"));
- ConOutPuts(GetTimeString());
+ ConOutPrintf(_T("%s\n"), GetTimeString());
PrintElapsedTime(GetTickCount()-cT, iFormat);
freep(p);
return 0;
@@ -183,7 +183,7 @@
{
cS=FALSE;
ConOutResPrintf (STRING_TIMER_TIME,clk_n,cS?_T("ON"):_T("OFF"));
- ConOutPuts(GetTimeString());
+ ConOutPrintf(_T("%s\n"), GetTimeString());
PrintElapsedTime(GetTickCount()-cT, iFormat);
freep(p);
return 0;
@@ -204,7 +204,7 @@
{
cS=FALSE;
ConOutResPrintf (STRING_TIMER_TIME,clk_n,cS?_T("ON"):_T("OFF"));
- ConOutPuts(GetTimeString());
+ ConOutPrintf(_T("%s\n"), GetTimeString());
PrintElapsedTime(GetTickCount()-cT, iFormat);
freep(p);
return 0;