Datetime initialization fix

Duane Clark dclark at akamail.com
Sun Apr 17 12:07:25 CDT 2005


Changelog:
	The datatime should be initialized with local time.

-------------- next part --------------
Index: dlls/comctl32/datetime.c
===================================================================
RCS file: /home/wine/wine/dlls/comctl32/datetime.c,v
retrieving revision 1.58
diff -u -p -r1.58 datetime.c
--- dlls/comctl32/datetime.c	16 Apr 2005 10:48:02 -0000	1.58
+++ dlls/comctl32/datetime.c	17 Apr 2005 17:01:46 -0000
@@ -1190,7 +1190,7 @@ DATETIME_Create (HWND hwnd, LPCREATESTRU
 					  0, 0, 0, 0, infoPtr->hwndSelf, 0, 0, 0);
 
     /* initialize info structure */
-    GetSystemTime (&infoPtr->date);
+    GetLocalTime (&infoPtr->date);
     infoPtr->dateValid = TRUE;
     infoPtr->hFont = GetStockObject(DEFAULT_GUI_FONT);
 


More information about the wine-patches mailing list