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:
Taehyub Kim 2019-06-04 20:14:03 +09:00 committed by Jaehyun Cho
parent 223ba9acc3
commit 28adabd214
1 changed files with 1 additions and 1 deletions

View File

@ -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