From dbde63bfecc54b9d6402c81bf2bb32b78ec64d08 Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Sun, 5 Sep 2010 10:23:09 +0000 Subject: progressbars are drawn inside viewports so all coords are viewport relative. so fix - for the x coord to be 0 instead of vp->x which never made sense (woops from 18months ago :p ) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27998 a1c6a512-1295-4272-9138-f99709370657 --- apps/gui/skin_engine/skin_parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/gui/skin_engine/skin_parser.c b/apps/gui/skin_engine/skin_parser.c index a5ff64ac9d..a486436816 100644 --- a/apps/gui/skin_engine/skin_parser.c +++ b/apps/gui/skin_engine/skin_parser.c @@ -620,7 +620,7 @@ static int parse_progressbar_tag(struct skin_element* element, if (!isdefault(param)) pb->x = param->data.number; else - pb->x = vp->x; + pb->x = 0; param++; if (!isdefault(param)) -- cgit v1.2.3