From 657b91acfa86430750cebb82d0ea3aaf635953bf Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Tue, 26 Feb 2013 20:43:42 +1100 Subject: [PATCH] skin engine: Relax the AA load width/height checks d6c6c07 changed the AA load tag to make sure the image width/heights fit in the viewport, Revert this because it doesn't actually make sense to check it here. Change-Id: I3fe4b074ef8fe88560f2f894ec651027ea3642f4 --- apps/gui/skin_engine/skin_parser.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/apps/gui/skin_engine/skin_parser.c b/apps/gui/skin_engine/skin_parser.c index cb185d88ba..94396640f2 100644 --- a/apps/gui/skin_engine/skin_parser.c +++ b/apps/gui/skin_engine/skin_parser.c @@ -1198,13 +1198,9 @@ static int parse_albumart_load(struct skin_element* element, /* if we got here, we parsed everything ok .. ! */ if (aa->width < 0) aa->width = 0; - else if (aa->width > curr_vp->vp.width) - aa->width = curr_vp->vp.width; if (aa->height < 0) aa->height = 0; - else if (aa->height > curr_vp->vp.height) - aa->height = curr_vp->vp.height; if (swap_for_rtl) aa->x = (curr_vp->vp.width - aa->width - aa->x);