diff options
author | tsepez <tsepez@chromium.org> | 2016-05-20 14:25:28 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-05-20 14:25:28 -0700 |
commit | 24ca59ca1b1475ffdcb9e6202a907627ca24076f (patch) | |
tree | 8124e71a7d703d119196b7005c48d3f991512d0f /xfa/fwl/basewidget/ifwl_combobox.h | |
parent | 92b54029289a312d5dbb5e1d7dc4a8e9b8c73db4 (diff) | |
download | pdfium-24ca59ca1b1475ffdcb9e6202a907627ca24076f.tar.xz |
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
Diffstat (limited to 'xfa/fwl/basewidget/ifwl_combobox.h')
-rw-r--r-- | xfa/fwl/basewidget/ifwl_combobox.h | 2 |
1 files changed, 1 insertions, 1 deletions
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) |