discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=8e74d80474b47281dfa59b88b638b227f0da48c6

commit 8e74d80474b47281dfa59b88b638b227f0da48c6
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Tue Apr 14 20:28:07 2015 -0400

    toolbar: fix conditional compiler warning in horizontal_set
---
 src/lib/elm_toolbar.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/elm_toolbar.c b/src/lib/elm_toolbar.c
index 07d12a7..c588e36 100644
--- a/src/lib/elm_toolbar.c
+++ b/src/lib/elm_toolbar.c
@@ -3634,7 +3634,7 @@ EOLIAN static void
 _elm_toolbar_horizontal_set(Eo *obj, Elm_Toolbar_Data *sd, Eina_Bool 
horizontal)
 {
    horizontal = !!horizontal;
-   if (!horizontal == sd->vertical) return;
+   if (horizontal != sd->vertical) return;
    sd->vertical = !horizontal;
    if (sd->vertical)
      evas_object_box_align_set(sd->bx, 0.5, sd->align);

-- 


Reply via email to