diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2010-10-09 12:18:10 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2010-10-09 12:18:10 +0000 |
commit | 3f7b780b54d76f5462c8c4f8744fe80363c77507 (patch) | |
tree | ea425f641ccd97a6f18bcbe59f41831dc6ac1bde | |
parent | b39a4933cb66f76ede8727bb5afda02aca3ce15c (diff) |
fix a stupid typo in the vertical bar tag parser, spotted by teru
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28222 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 8f3d47a6ae..1cdecff24f 100644 --- a/apps/gui/skin_engine/skin_parser.c +++ b/apps/gui/skin_engine/skin_parser.c @@ -689,7 +689,7 @@ static int parse_progressbar_tag(struct skin_element* element, { pb->horizontal = false; if (isdefault(&element->params[3])) - pb->height = vp->height - pb->x; + pb->height = vp->height - pb->y; } else if (!strcmp(param->data.text, "horizontal")) pb->horizontal = true; |