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

Alexandre Julliard julliard at winehq.org
Tue Dec 30 06:57:06 CST 2008


Module: wine
Branch: master
Commit: 656b627340741c917def5d13bdf49052bbd49e21
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=656b627340741c917def5d13bdf49052bbd49e21

Author: Christian Costa <titan.costa at wanadoo.fr>
Date:   Tue Dec 30 13:26:53 2008 +0100

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

---

 programs/cmd/builtins.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/programs/cmd/builtins.c b/programs/cmd/builtins.c
index 564ce45..ad186ff 100644
--- a/programs/cmd/builtins.c
+++ b/programs/cmd/builtins.c
@@ -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,




More information about the wine-cvs mailing list