monthcal
Ulrich Czekalla
ulrich.czekalla at utoronto.ca
Mon Apr 4 17:49:49 CDT 2005
ChangeLog:
Ulrich Czekalla <ulrich at codeweavers.com>
Clear systemtime struct so we don't return garbage in uninitialized
fields
-------------- next part --------------
Index: dlls/comctl32/monthcal.c
===================================================================
RCS file: /home/wine/wine/dlls/comctl32/monthcal.c,v
retrieving revision 1.53
diff -u -p -r1.53 monthcal.c
--- dlls/comctl32/monthcal.c 23 Mar 2005 13:15:21 -0000 1.53
+++ dlls/comctl32/monthcal.c 4 Apr 2005 22:46:28 -0000
@@ -1151,6 +1151,7 @@ MONTHCAL_HitTest(MONTHCAL_INFO *infoPtr,
y = lpht->pt.y;
retval = MCHT_NOWHERE;
+ ZeroMemory(&lpht->st, sizeof(lpht->st));
/* Comment in for debugging...
TRACE("%d %d wd[%d %d %d %d] d[%d %d %d %d] t[%d %d %d %d] wn[%d %d %d %d]\n", x, y,
More information about the wine-patches
mailing list