comctl32: Fix a logical operator typo

Andrew Talbot andrew.talbot at talbotville.com
Sat Aug 27 11:42:27 CDT 2011


Changelog:
    comctl32: Fix a logical operator typo.

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-patches mailing list