fix %pb and other progressbars which are shown one line down from where they should be in viewports
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26698 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
2d62a570e3
commit
c2a79aae16
1 changed files with 2 additions and 0 deletions
|
@ -1267,6 +1267,8 @@ static int parse_progressbar(const char *wps_bufptr,
|
|||
line_num++;
|
||||
line = line->next;
|
||||
}
|
||||
if (curr_vp->label != VP_DEFAULT_LABEL)
|
||||
line_num--;
|
||||
pb->vp = vp;
|
||||
pb->have_bitmap_pb = false;
|
||||
pb->bm.data = NULL; /* no bitmap specified */
|
||||
|
|
Loading…
Reference in a new issue