diff options
Diffstat (limited to 'apps/gui/skin_engine/skin_parser.c')
-rw-r--r-- | apps/gui/skin_engine/skin_parser.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/gui/skin_engine/skin_parser.c b/apps/gui/skin_engine/skin_parser.c index 5c169c81de..f5923747ab 100644 --- a/apps/gui/skin_engine/skin_parser.c +++ b/apps/gui/skin_engine/skin_parser.c | |||
@@ -600,6 +600,7 @@ static int parse_progressbar_tag(struct skin_element* element, | |||
600 | pb->bm.data = NULL; /* no bitmap specified */ | 600 | pb->bm.data = NULL; /* no bitmap specified */ |
601 | pb->follow_lang_direction = follow_lang_direction > 0; | 601 | pb->follow_lang_direction = follow_lang_direction > 0; |
602 | pb->nofill = false; | 602 | pb->nofill = false; |
603 | pb->nobar = false; | ||
603 | pb->slider = NULL; | 604 | pb->slider = NULL; |
604 | pb->invert_fill_direction = false; | 605 | pb->invert_fill_direction = false; |
605 | pb->horizontal = true; | 606 | pb->horizontal = true; |
@@ -676,6 +677,8 @@ static int parse_progressbar_tag(struct skin_element* element, | |||
676 | pb->invert_fill_direction = true; | 677 | pb->invert_fill_direction = true; |
677 | else if (!strcmp(param->data.text, "nofill")) | 678 | else if (!strcmp(param->data.text, "nofill")) |
678 | pb->nofill = true; | 679 | pb->nofill = true; |
680 | else if (!strcmp(param->data.text, "nobar")) | ||
681 | pb->nobar = true; | ||
679 | else if (!strcmp(param->data.text, "slider")) | 682 | else if (!strcmp(param->data.text, "slider")) |
680 | { | 683 | { |
681 | if (curr_param+1 < element->params_count) | 684 | if (curr_param+1 < element->params_count) |