user32: Fix a typo

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


Changelog:
    user32: Fix a typo.

diff --git a/dlls/user32/combo.c b/dlls/user32/combo.c
index 1709f28..b846618 100644
--- a/dlls/user32/combo.c
+++ b/dlls/user32/combo.c
@@ -774,7 +774,7 @@ static void CBPaintText(
 	 clipRegion=NULL;
        }
 
-       if (!IsWindowEnabled(lphc->self) & WS_DISABLED) itemState |= ODS_DISABLED;
+       if (!IsWindowEnabled(lphc->self)) itemState |= ODS_DISABLED;
 
        dis.CtlType	= ODT_COMBOBOX;
        dis.CtlID	= ctlid;



More information about the wine-patches mailing list