summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/gui/skin_engine/skin_parser.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/apps/gui/skin_engine/skin_parser.c b/apps/gui/skin_engine/skin_parser.c
index cb185d8..9439664 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);