From 7b394739aec32b8f66524c855dba81c5c4ccde68 Mon Sep 17 00:00:00 2001 From: Christopher Michael Date: Sat, 26 Jan 2008 05:28:46 +0000 Subject: [PATCH] Remove redundant checks for horizontal; replace with one simple check. SVN revision: 33615 --- src/bin/e_box.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/bin/e_box.c b/src/bin/e_box.c index e1c8791d3..ab60a28c5 100644 --- a/src/bin/e_box.c +++ b/src/bin/e_box.c @@ -99,8 +99,7 @@ e_box_orientation_set(Evas_Object *obj, int horizontal) sd = evas_object_smart_data_get(obj); if (!sd) return; - if (((sd->horizontal) && (horizontal)) || - ((!sd->horizontal) && (!horizontal))) return; + if (sd->horizontal == horizontal) return; sd->horizontal = horizontal; sd->changed = 1; if (sd->frozen <= 0) _e_box_smart_reconfigure(sd);