Enlightenment CVS committal Author : devilhorns Project : e17 Module : apps/e
Dir : e17/apps/e/src/bin Modified Files: e_box.c Log Message: Remove redundant checks for horizontal; replace with one simple check. =================================================================== RCS file: /cvs/e/e17/apps/e/src/bin/e_box.c,v retrieving revision 1.22 retrieving revision 1.23 diff -u -3 -r1.22 -r1.23 --- e_box.c 4 Aug 2007 13:12:40 -0000 1.22 +++ e_box.c 26 Jan 2008 05:28:46 -0000 1.23 @@ -99,8 +99,7 @@ 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); ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs