From 3f7b780b54d76f5462c8c4f8744fe80363c77507 Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Sat, 9 Oct 2010 12:18:10 +0000 Subject: 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 --- 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 8f3d47a..1cdecff 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; -- cgit v1.1