jaehyun pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=28adabd21481ea244a800b1a31c69271ad619d2d

commit 28adabd21481ea244a800b1a31c69271ad619d2d
Author: Taehyub Kim <[email protected]>
Date:   Tue Jun 4 20:14:03 2019 +0900

    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
---
 src/lib/elementary/elm_priv.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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

-- 


Reply via email to