edje: fix obvious c&p error.
authorCedric BAIL <cedric.bail@free.fr>
Thu, 26 Jan 2012 18:32:30 +0000 (18:32 +0000)
committerCedric BAIL <cedric.bail@free.fr>
Thu, 26 Jan 2012 18:32:30 +0000 (18:32 +0000)
SVN revision: 67557

legacy/edje/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)))
      {