From fee3b366bf8acea8f8c5ca4d7e67b43079527d3b Mon Sep 17 00:00:00 2001 From: Viktor Kojouharov Date: Sat, 28 Feb 2009 17:56:06 +0000 Subject: [PATCH] and also for the vertical layout SVN revision: 39291 --- legacy/evas/src/lib/canvas/evas_object_box.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/legacy/evas/src/lib/canvas/evas_object_box.c b/legacy/evas/src/lib/canvas/evas_object_box.c index cbba86965e..939eb8e73c 100644 --- a/legacy/evas/src/lib/canvas/evas_object_box.c +++ b/legacy/evas/src/lib/canvas/evas_object_box.c @@ -951,7 +951,7 @@ evas_object_box_layout_vertical(Evas_Object *o, Evas_Object_Box_Data *priv, void y += remaining * priv->align.v; else if (n_children == 1) y += remaining / 2; - else + else if (remaining > 0) { /* justified */ _fixed_point_divide_and_decompose_integer (remaining, n_children - 1, &global_pad, &pad_inc);