From 24ca59ca1b1475ffdcb9e6202a907627ca24076f Mon Sep 17 00:00:00 2001 From: tsepez Date: Fri, 20 May 2016 14:25:28 -0700 Subject: Fix unreachable code in fwl_comboboximp.cpp Althought this may change behaviour, I'm going to make the assumption that the intent expressed by the current code is what is desired, and that this is simply a case of not being able to count bits properly. BUG=613620,427616 Review-Url: https://codereview.chromium.org/1996303003 --- xfa/fwl/basewidget/ifwl_combobox.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xfa/fwl/basewidget') diff --git a/xfa/fwl/basewidget/ifwl_combobox.h b/xfa/fwl/basewidget/ifwl_combobox.h index 9755fc7686..2d9c907b39 100644 --- a/xfa/fwl/basewidget/ifwl_combobox.h +++ b/xfa/fwl/basewidget/ifwl_combobox.h @@ -34,9 +34,9 @@ class IFWL_ComboBox; #define FWL_STYLEEXT_CMB_ListItemLeftAlign (0L << 10) #define FWL_STYLEEXT_CMB_ListItemCenterAlign (1L << 10) #define FWL_STYLEEXT_CMB_ListItemRightAlign (2L << 10) +#define FWL_STYLEEXT_CMB_ListItemAlignMask (3L << 10) #define FWL_STYLEEXT_CMB_ListItemText (0L << 12) #define FWL_STYLEEXT_CMB_ListItemIconText (1L << 12) -#define FWL_STYLEEXT_CMB_ListItemAlignMask (3L << 12) #define FWL_STYLEEXT_CMB_ReadOnly (1L << 13) BEGIN_FWL_EVENT_DEF(CFWL_EvtCmbPreDropDown, CFWL_EventType::PreDropDown) -- cgit v1.2.3