edje: fix obvious c&p error.

SVN revision: 67557
This commit is contained in:
Cedric BAIL 2012-01-26 18:32:30 +00:00
parent a4c58712c3
commit 5358608eab
1 changed files with 1 additions and 1 deletions

View 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)))
{