diff options
-rw-r--r-- | apps/gui/skin_engine/skin_parser.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/gui/skin_engine/skin_parser.c b/apps/gui/skin_engine/skin_parser.c index 90fe0ceec4..1d471e8580 100644 --- a/apps/gui/skin_engine/skin_parser.c +++ b/apps/gui/skin_engine/skin_parser.c | |||
@@ -557,7 +557,10 @@ static int parse_progressbar_tag(struct skin_element* element, | |||
557 | pb->have_bitmap_pb = false; | 557 | pb->have_bitmap_pb = false; |
558 | pb->bm.data = NULL; /* no bitmap specified */ | 558 | pb->bm.data = NULL; /* no bitmap specified */ |
559 | pb->follow_lang_direction = follow_lang_direction > 0; | 559 | pb->follow_lang_direction = follow_lang_direction > 0; |
560 | pb->nofill = false; | ||
561 | pb->slider = NULL; | ||
560 | pb->invert_fill_direction = false; | 562 | pb->invert_fill_direction = false; |
563 | pb->horizontal = true; | ||
561 | 564 | ||
562 | if (element->params_count == 0) | 565 | if (element->params_count == 0) |
563 | { | 566 | { |
@@ -619,9 +622,6 @@ static int parse_progressbar_tag(struct skin_element* element, | |||
619 | pb->bm.data = param->data.text; | 622 | pb->bm.data = param->data.text; |
620 | 623 | ||
621 | curr_param = 5; | 624 | curr_param = 5; |
622 | pb->invert_fill_direction = false; | ||
623 | pb->nofill = false; | ||
624 | pb->slider = NULL; | ||
625 | pb->horizontal = pb->width > pb->height; | 625 | pb->horizontal = pb->width > pb->height; |
626 | while (curr_param < element->params_count) | 626 | while (curr_param < element->params_count) |
627 | { | 627 | { |