diff options
Diffstat (limited to 'apps/gui/skin_engine/skin_parser.c')
-rw-r--r-- | apps/gui/skin_engine/skin_parser.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/gui/skin_engine/skin_parser.c b/apps/gui/skin_engine/skin_parser.c index c7957e7b9a..c2364dab8d 100644 --- a/apps/gui/skin_engine/skin_parser.c +++ b/apps/gui/skin_engine/skin_parser.c | |||
@@ -1267,6 +1267,8 @@ static int parse_progressbar(const char *wps_bufptr, | |||
1267 | line_num++; | 1267 | line_num++; |
1268 | line = line->next; | 1268 | line = line->next; |
1269 | } | 1269 | } |
1270 | if (curr_vp->label != VP_DEFAULT_LABEL) | ||
1271 | line_num--; | ||
1270 | pb->vp = vp; | 1272 | pb->vp = vp; |
1271 | pb->have_bitmap_pb = false; | 1273 | pb->have_bitmap_pb = false; |
1272 | pb->bm.data = NULL; /* no bitmap specified */ | 1274 | pb->bm.data = NULL; /* no bitmap specified */ |