Module: wine Branch: master Commit: 87e9e3c37030c293df099395cb0c8e3ef080495a URL: http://source.winehq.org/git/wine.git/?a=commit;h=87e9e3c37030c293df099395cb...
Author: Nikolay Sivov bunglehead@gmail.com Date: Tue Oct 6 00:06:55 2009 +0400
comctl32/monthcal: Fix '&->&&' typo in focused day helper.
---
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 02751b6..42710c0 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 */