forked from enlightenment/efl
efl_ui_layout_orientation: fix the bitwise condition logic
Summary: fix the bitwise condition logic Reviewers: Jaehyun_Cho, zmike Reviewed By: Jaehyun_Cho Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9067
This commit is contained in:
parent
223ba9acc3
commit
28adabd214
|
@ -982,7 +982,7 @@ efl_ui_layout_orientation_axis_get(Efl_Ui_Layout_Orientation orient)
|
|||
static inline Eina_Bool
|
||||
efl_ui_layout_orientation_is_inverted(Efl_Ui_Layout_Orientation orient)
|
||||
{
|
||||
return orient & EFL_UI_LAYOUT_ORIENTATION_INVERTED;
|
||||
return ((orient & EFL_UI_LAYOUT_ORIENTATION_INVERTED) == EFL_UI_LAYOUT_ORIENTATION_INVERTED) ? EINA_TRUE : EINA_FALSE;
|
||||
}
|
||||
|
||||
static inline Eina_Bool
|
||||
|
|
Loading…
Reference in New Issue