Clear systemtime struct so we don't return garbage in uninitialized
fields.
This commit is contained in:
parent
d3f5fa8983
commit
8b20d72005
|
@ -1151,6 +1151,7 @@ MONTHCAL_HitTest(MONTHCAL_INFO *infoPtr, LPARAM lParam)
|
||||||
y = lpht->pt.y;
|
y = lpht->pt.y;
|
||||||
retval = MCHT_NOWHERE;
|
retval = MCHT_NOWHERE;
|
||||||
|
|
||||||
|
ZeroMemory(&lpht->st, sizeof(lpht->st));
|
||||||
|
|
||||||
/* Comment in for debugging...
|
/* 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,
|
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,
|
||||||
|
|
Loading…
Reference in New Issue