mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
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
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue