summaryrefslogtreecommitdiff
path: root/apps/gui/skin_engine/skin_parser.c
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2010-09-05 10:23:09 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2010-09-05 10:23:09 +0000
commitdbde63bfecc54b9d6402c81bf2bb32b78ec64d08 (patch)
treee20deaefabdb2aa048a1d886f270ebdb5183ebb6 /apps/gui/skin_engine/skin_parser.c
parent81bce3b5b3cef318023f2e2034b97307bcbbc7c4 (diff)
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
Diffstat (limited to 'apps/gui/skin_engine/skin_parser.c')
-rw-r--r--apps/gui/skin_engine/skin_parser.c2
1 files changed, 1 insertions, 1 deletions
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))