summaryrefslogtreecommitdiff
path: root/apps/gui/skin_engine/skin_parser.c
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2010-08-01 10:40:29 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2010-08-01 10:40:29 +0000
commit6dc4d65aa13df6e9e5409a77fa356ff7882fc2fb (patch)
treeb737b0e0147cc7f14dd864cba5a1bb97d063618a /apps/gui/skin_engine/skin_parser.c
parent38caf2c807500fa439f8b7c47aeebb52286c2967 (diff)
FS#11507 - fix 'track starting/ending' tags, and minor timeout cleanup
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27649 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/skin_engine/skin_parser.c')
-rw-r--r--apps/gui/skin_engine/skin_parser.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/apps/gui/skin_engine/skin_parser.c b/apps/gui/skin_engine/skin_parser.c
index ed7771529e..5048b27f8e 100644
--- a/apps/gui/skin_engine/skin_parser.c
+++ b/apps/gui/skin_engine/skin_parser.c
@@ -495,9 +495,7 @@ static int parse_timeout_tag(struct skin_element *element,
}
else
val = element->params[0].data.number;
- token->value.i = val;
- if (token->type == SKIN_TOKEN_SUBLINE_TIMEOUT)
- curr_line->timeout = val * TIMEOUT_UNIT;
+ token->value.i = val * TIMEOUT_UNIT;
return 0;
}