[PATCH 8/8] Fix '&->&&' typo in focused day helper
Nikolay Sivov
bunglehead at gmail.com
Mon Oct 5 15:06:55 CDT 2009
---
dlls/comctl32/monthcal.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/comctl32/monthcal.c b/dlls/comctl32/monthcal.c
index 83a2c8a..55a776d 100644
--- a/dlls/comctl32/monthcal.c
+++ b/dlls/comctl32/monthcal.c
@@ -485,7 +485,7 @@ static BOOL MONTHCAL_SetDayFocus(MONTHCAL_INFO *infoPtr, const SYSTEMTIME *st)
MONTHCAL_CalcPosFromDay(infoPtr, infoPtr->focusedSel.wDay,
infoPtr->focusedSel.wMonth, &r);
- if(!st & MONTHCAL_ValidateDate(&infoPtr->focusedSel))
+ if(!st && MONTHCAL_ValidateDate(&infoPtr->focusedSel))
infoPtr->focusedSel = st_null;
/* on set invalidates new day, on reset clears previous focused day */
--
1.5.6.5
--=-ZGnk5NSYCWB1BWaId7BV--
More information about the wine-patches
mailing list