discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=15f8d943aaea72def6985fff525cafb8238cfe7a

commit 15f8d943aaea72def6985fff525cafb8238cfe7a
Author: Mike Blumenkrantz <[email protected]>
Date:   Tue Mar 31 23:27:01 2015 -0400

    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 243d93f..1b74301 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,

-- 


Reply via email to