summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/gui/skin_engine/skin_parser.c6
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 90fe0ce..1d471e8 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,
pb->have_bitmap_pb = false;
pb->bm.data = NULL; /* no bitmap specified */
pb->follow_lang_direction = follow_lang_direction > 0;
+ pb->nofill = false;
+ pb->slider = NULL;
pb->invert_fill_direction = false;
+ pb->horizontal = true;
if (element->params_count == 0)
{
@@ -619,9 +622,6 @@ static int parse_progressbar_tag(struct skin_element* element,
pb->bm.data = param->data.text;
curr_param = 5;
- pb->invert_fill_direction = false;
- pb->nofill = false;
- pb->slider = NULL;
pb->horizontal = pb->width > pb->height;
while (curr_param < element->params_count)
{