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

Alexandre Julliard julliard at winehq.org
Tue Oct 6 10:35:48 CDT 2009


Module: wine
Branch: master
Commit: 87e9e3c37030c293df099395cb0c8e3ef080495a
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=87e9e3c37030c293df099395cb0c8e3ef080495a

Author: Nikolay Sivov <bunglehead at 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 */




More information about the wine-cvs mailing list