From dd5a1913ae4b8025418a9f688882114a007bd41c Mon Sep 17 00:00:00 2001 From: Andrew Talbot Date: Sat, 27 Aug 2011 17:42:27 +0100 Subject: [PATCH] comctl32: Fix a logical operator typo. --- dlls/comctl32/tooltips.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/comctl32/tooltips.c b/dlls/comctl32/tooltips.c index 2b297908016..162867d7150 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"); }