From 15f8d943aaea72def6985fff525cafb8238cfe7a Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Tue, 31 Mar 2015 23:27:01 -0400 Subject: [PATCH] edje calc no longer performs calculations for group parts of fixed size > 0 when I said > 0 in the last commit message, I was thinking ahead to this commit which I knew I would later have to make, but had not yet written because I had not spent the requisite number of hours debugging the code to know that I needed to have the check in both the code and the commit message ref 3a451650d2f875077419e5777c49d04c618211f0 --- src/lib/edje/edje_calc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/edje/edje_calc.c b/src/lib/edje/edje_calc.c index 243d93f048..1b74301a6d 100644 --- a/src/lib/edje/edje_calc.c +++ b/src/lib/edje/edje_calc.c @@ -3232,7 +3232,7 @@ _edje_part_recalc(Edje *ed, Edje_Real_Part *ep, int flags, Edje_Calc_Params *sta min = &ep->chosen_description->min; max = &ep->chosen_description->max; } - if (min && max && (min->w == max->w) && (min->h == max->h)) + if (min && max && (min->w == max->w) && (min->h == max->h) && (min->w > 0) && (min->h > 0)) mmw = min->w, mmh = min->h; else edje_object_size_min_calc(ep->typedata.swallow->swallowed_object,