1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Jonathan Gordon 2010-09-05 10:23:09 +00:00
parent 81bce3b5b3
commit dbde63bfec

View file

@ -620,7 +620,7 @@ static int parse_progressbar_tag(struct skin_element* element,
if (!isdefault(param)) if (!isdefault(param))
pb->x = param->data.number; pb->x = param->data.number;
else else
pb->x = vp->x; pb->x = 0;
param++; param++;
if (!isdefault(param)) if (!isdefault(param))