cmd.exe: Use WCMD_CURRENTTIME resource to show the time.

This commit is contained in:
Christian Costa 2008-12-30 13:26:53 +01:00 committed by Alexandre Julliard
parent fa8cd7435f
commit 656b627340
1 changed files with 1 additions and 1 deletions

View File

@ -2135,7 +2135,7 @@ void WCMD_setshow_time (void) {
GetLocalTime(&st);
if (GetTimeFormat (LOCALE_USER_DEFAULT, 0, &st, NULL,
curtime, sizeof(curtime)/sizeof(WCHAR))) {
WCMD_output (WCMD_LoadMessage(WCMD_CURRENTDATE), curtime);
WCMD_output (WCMD_LoadMessage(WCMD_CURRENTTIME), curtime);
if (strstrW (quals, parmT) == NULL) {
WCMD_output (WCMD_LoadMessage(WCMD_NEWTIME));
WCMD_ReadFile (GetStdHandle(STD_INPUT_HANDLE), buffer,