diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2010-09-05 10:23:09 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2010-09-05 10:23:09 +0000 |
commit | dbde63bfecc54b9d6402c81bf2bb32b78ec64d08 (patch) | |
tree | e20deaefabdb2aa048a1d886f270ebdb5183ebb6 | |
parent | 81bce3b5b3cef318023f2e2034b97307bcbbc7c4 (diff) | |
download | rockbox-dbde63bfecc54b9d6402c81bf2bb32b78ec64d08.tar.gz rockbox-dbde63bfecc54b9d6402c81bf2bb32b78ec64d08.zip |
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
-rw-r--r-- | apps/gui/skin_engine/skin_parser.c | 2 |
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, | |||
620 | if (!isdefault(param)) | 620 | if (!isdefault(param)) |
621 | pb->x = param->data.number; | 621 | pb->x = param->data.number; |
622 | else | 622 | else |
623 | pb->x = vp->x; | 623 | pb->x = 0; |
624 | param++; | 624 | param++; |
625 | 625 | ||
626 | if (!isdefault(param)) | 626 | if (!isdefault(param)) |