comctl32/monthcal: Fix '&->&&' typo in focused day helper.

This commit is contained in:
Nikolay Sivov 2009-10-06 00:06:55 +04:00 committed by Alexandre Julliard
parent 5b723235d8
commit 87e9e3c370
1 changed files with 1 additions and 1 deletions

View File

@ -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 */