[PATCH 07/15] Store full date info to current date on todaylink with LButton
Nikolay Sivov
bunglehead at gmail.com
Sat Sep 26 06:23:44 CDT 2009
---
dlls/comctl32/monthcal.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/dlls/comctl32/monthcal.c b/dlls/comctl32/monthcal.c
index 2386b10..b14613b 100644
--- a/dlls/comctl32/monthcal.c
+++ b/dlls/comctl32/monthcal.c
@@ -1421,10 +1421,8 @@ MONTHCAL_LButtonDown(MONTHCAL_INFO *infoPtr, LPARAM lParam)
{
NMSELCHANGE nmsc;
- infoPtr->curSel.wDay = infoPtr->todaysDate.wDay;
infoPtr->firstSelDay = infoPtr->todaysDate.wDay;
- infoPtr->curSel.wMonth = infoPtr->todaysDate.wMonth;
- infoPtr->curSel.wYear = infoPtr->todaysDate.wYear;
+ infoPtr->curSel = infoPtr->todaysDate;
infoPtr->minSel = infoPtr->todaysDate;
infoPtr->maxSel = infoPtr->todaysDate;
InvalidateRect(infoPtr->hwndSelf, NULL, FALSE);
--
1.5.6.5
--=-kY3faK5QDSbTyEiY21tq--
More information about the wine-patches
mailing list