Gerald Pfeifer wrote:
Looking at the code I'm 99.9% sure this should be a logical and here in this new code.
Gerald
ChangeLog: Use local and instead of bitwise and in MONTHCAL_SetDayFocus().
diff --git a/dlls/comctl32/monthcal.c b/dlls/comctl32/monthcal.c index a35d261..cd8bd7f 100644 --- a/dlls/comctl32/monthcal.c +++ b/dlls/comctl32/monthcal.c @@ -399,7 +399,7 @@ static void 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)) { static const SYSTEMTIME st_null;
Hi, Gerald.
Already done:
http://source.winehq.org/git/wine.git/?a=commit;h=87e9e3c37030c293df099395cb...