X-Git-Url: http://git.jankratochvil.net/?p=reactos.git;a=blobdiff_plain;f=subsys%2Fsystem%2Fcmd%2Fdate.c;h=076bef244b39bbd8ef08ba15ff2c293b6862a60b;hp=bcee0d63e18b24308b29ef8fbaeaa9e0b8ca1aea;hb=HEAD;hpb=7c0db166f81fbe8c8b913d7f26048e337d383605 diff --git a/subsys/system/cmd/date.c b/subsys/system/cmd/date.c index bcee0d6..076bef2 100644 --- a/subsys/system/cmd/date.c +++ b/subsys/system/cmd/date.c @@ -231,16 +231,16 @@ INT cmd_date (LPTSTR cmd, LPTSTR param) PrintDateString (); ConInString (s, 40); #ifdef _DEBUG - DebugPrintf ("\'%s\'\n", s); + DebugPrintf (_T("\'%s\'\n"), s); #endif - while (*s && s[_tcslen (s) - 1] < ' ') - s[_tcslen (s) - 1] = '\0'; + while (*s && s[_tcslen (s) - 1] < _T(' ')) + s[_tcslen (s) - 1] = _T('\0'); if (ParseDate (s)) { freep (arg); return 0; } - ConErrPuts ("Invalid date."); + ConErrPuts (_T("Invalid date.")); } } else @@ -250,7 +250,7 @@ INT cmd_date (LPTSTR cmd, LPTSTR param) freep (arg); return 0; } - ConErrPuts ("Invalid date."); + ConErrPuts (_T("Invalid date.")); } freep (arg);