patch for Bug#: 16344 cmd.exe builtin time prints wrong message : current date instead of current time

le_afo le_afo at gmx.net
Fri Dec 5 18:09:23 CST 2008


-- 
// living on earth is expensive,but includes an annual free trip around the sun
-------------- next part --------------
--- wine-1.1.9/programs/cmd/builtins.c.orig	2008-11-21 17:20:28.000000000 +0100
+++ wine-1.1.9/programs/cmd/builtins.c	2008-12-05 14:28:51.000000000 +0100
@@ -2135,7 +2135,7 @@
     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-patches mailing list