comctl32/monthcal: Initialize day field before setting final hit test result (Valgrind).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
66507e86c0
commit
9231452a9c
|
@ -1907,6 +1907,7 @@ MONTHCAL_HitTest(const MONTHCAL_INFO *infoPtr, MCHITTESTINFO *lpht)
|
|||
else if(PtInRect(&infoPtr->calendars[calIdx].days, lpht->pt))
|
||||
{
|
||||
htinfo.iOffset = calIdx;
|
||||
htinfo.st.wDay = ht_month->wDay;
|
||||
htinfo.st.wYear = ht_month->wYear;
|
||||
htinfo.st.wMonth = ht_month->wMonth;
|
||||
/* previous month only valid for first calendar */
|
||||
|
|
Loading…
Reference in New Issue