toolbar: fix conditional compiler warning in horizontal_set

This commit is contained in:
Mike Blumenkrantz 2015-04-14 20:28:07 -04:00
parent 153899126b
commit 922286222f
1 changed files with 1 additions and 1 deletions

View File

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