Andrew Talbot : comctl32: Fix a logical operator typo.

Alexandre Julliard julliard at winehq.org
Mon Aug 29 11:28:31 CDT 2011


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

Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date:   Sat Aug 27 17:42:27 2011 +0100

comctl32: Fix a logical operator typo.

---

 dlls/comctl32/tooltips.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/comctl32/tooltips.c b/dlls/comctl32/tooltips.c
index 2b29790..162867d 100644
--- a/dlls/comctl32/tooltips.c
+++ b/dlls/comctl32/tooltips.c
@@ -2014,7 +2014,7 @@ TOOLTIPS_SetFont (TOOLTIPS_INFO *infoPtr, HFONT hFont, BOOL redraw)
     lf.lfWeight = FW_BOLD;
     infoPtr->hTitleFont = CreateFontIndirectW(&lf);
 
-    if (redraw & (infoPtr->nCurrentTool != -1)) {
+    if (redraw && infoPtr->nCurrentTool != -1) {
 	FIXME("full redraw needed!\n");
     }
 




More information about the wine-cvs mailing list