Nikolay Sivov : comctl32/monthcal: Store full date info to current date on todaylink with LButton.
Alexandre Julliard
julliard at winehq.org
Mon Sep 28 11:54:38 CDT 2009
Module: wine
Branch: master
Commit: a95b63efccf51c4f52d8a0c41d1d6672acdb7477
URL: http://source.winehq.org/git/wine.git/?a=commit;h=a95b63efccf51c4f52d8a0c41d1d6672acdb7477
Author: Nikolay Sivov <bunglehead at gmail.com>
Date: Sat Sep 26 15:23:44 2009 +0400
comctl32/monthcal: Store full date info to current date on todaylink with LButton.
---
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 bb5b6de..498c84f 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);
More information about the wine-cvs
mailing list