summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTaehyub Kim <taehyub.kim@samsung.com>2019-06-04 20:14:03 +0900
committerJaehyun Cho <jae_hyun.cho@samsung.com>2019-06-04 20:14:04 +0900
commit28adabd21481ea244a800b1a31c69271ad619d2d (patch)
tree347a3ad82c403ce2e6ee93a45736ae100756e883
parent223ba9acc3a50ca7bad9e33c1ece088464ee2a2f (diff)
downloadefl-28adabd21481ea244a800b1a31c69271ad619d2d.tar.gz
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
-rw-r--r--src/lib/elementary/elm_priv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/elementary/elm_priv.h b/src/lib/elementary/elm_priv.h
index c8422bf5eb..6af1ae3744 100644
--- a/src/lib/elementary/elm_priv.h
+++ b/src/lib/elementary/elm_priv.h
@@ -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