diff options
Diffstat (limited to 'apps/gui/skin_engine/skin_parser.c')
-rw-r--r-- | apps/gui/skin_engine/skin_parser.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/gui/skin_engine/skin_parser.c b/apps/gui/skin_engine/skin_parser.c index 341056ff87..08b1880f4e 100644 --- a/apps/gui/skin_engine/skin_parser.c +++ b/apps/gui/skin_engine/skin_parser.c @@ -1277,9 +1277,9 @@ static int skin_element_callback(struct skin_element* element, void* data) memset(token, 0, sizeof(*token)); token->type = element->tag->type; - if ((element->tag->flags&SKIN_REFRESH_ALL) == SKIN_RTC_REFRESH) + if (element->tag->flags&SKIN_RTC_REFRESH) { -#ifdef CONFIG_RTC +#if CONFIG_RTC curr_line->update_mode |= SKIN_REFRESH_DYNAMIC; #else curr_line->update_mode |= SKIN_REFRESH_STATIC; |