edje: fix obvious c&p error.
authorcedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 26 Jan 2012 18:32:30 +0000 (18:32 +0000)
committercedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 26 Jan 2012 18:32:30 +0000 (18:32 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@67557 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/edje_calc.c

index 67c889b..3cdbe84 100644 (file)
@@ -1958,7 +1958,7 @@ _edje_part_recalc_single(Edje *ed,
              if (lminh > minh) minh = lminh;
           }
      }
-   else if ((ep->part->type == EDJE_PART_TYPE_BOX) &&
+   else if ((ep->part->type == EDJE_PART_TYPE_IMAGE) &&
            ((((Edje_Part_Description_Image *)chosen_desc)->image.min.limit) ||
              (((Edje_Part_Description_Image *)chosen_desc)->image.max.limit)))
      {