Andrew Talbot : comctl32: Fix a typo.

Alexandre Julliard julliard at winehq.org
Mon Nov 26 08:16:16 CST 2007


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

Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date:   Thu Nov 22 20:07:53 2007 +0000

comctl32: Fix a typo.

---

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

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