comctl32: Fix a typo

Andrew Talbot andrew.talbot at talbotville.com
Thu Nov 22 14:07:53 CST 2007


Changelog:
    comctl32: Fix a typo.

diff --git a/dlls/comctl32/theme_combo.c b/dlls/comctl32/theme_combo.c
index af6eee8..477138e 100644
--- a/dlls/comctl32/theme_combo.c
+++ b/dlls/comctl32/theme_combo.c
@@ -106,7 +106,7 @@ static void paint_text (HWND hwnd, HDC hdc, DWORD dwStyle, const COMBOBOXINFO *c
          clipRegion=NULL;
        }
 
-       if (!IsWindowEnabled(hwnd) & WS_DISABLED) itemState |= ODS_DISABLED;
+       if (!IsWindowEnabled(hwnd)) itemState |= ODS_DISABLED;
 
        dis.CtlType      = ODT_COMBOBOX;
        dis.CtlID        = ctlid;



More information about the wine-patches mailing list