Module: wine Branch: master Commit: dd5a1913ae4b8025418a9f688882114a007bd41c URL: http://source.winehq.org/git/wine.git/?a=commit;h=dd5a1913ae4b8025418a9f6888... Author: Andrew Talbot <andrew.talbot(a)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"); }