From 6c758594a789d033232122ff9cb97c61cd37dc6e Mon Sep 17 00:00:00 2001 From: "Carsten Haitzler (Rasterman)" Date: Wed, 27 Aug 2014 12:39:51 +0900 Subject: [PATCH] evas - table - fix copy and paste bug in table min size limiting logically dead code find pointed out a bug in min size limiting in homogenouse table layout in evas - fix CID 1039457 --- src/lib/evas/canvas/evas_object_table.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/evas/canvas/evas_object_table.c b/src/lib/evas/canvas/evas_object_table.c index c577134ea9..7af284637d 100644 --- a/src/lib/evas/canvas/evas_object_table.c +++ b/src/lib/evas/canvas/evas_object_table.c @@ -480,7 +480,7 @@ _evas_object_table_calculate_layout_homogeneous(Evas_Object *o, Evas_Table_Data hh = h - ((priv->size.rows - 1) * priv->pad.v); if (ww < 0) ww = 0; - if (ww < 0) ww = 0; + if (hh < 0) hh = 0; EINA_LIST_FOREACH(priv->children, l, opt) {