summaryrefslogtreecommitdiff
path: root/apps/gui/skin_engine/skin_tokens.c
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2010-03-07 21:07:41 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2010-03-07 21:07:41 +0000
commit0376208a484437cd3690aa3661bb84955c4013b0 (patch)
tree8d23f796b2e2b30512b72237b5825ca976aac9bd /apps/gui/skin_engine/skin_tokens.c
parentfb70ec6ff927684843944c46a0e7869e799367e9 (diff)
revert r25054 - tags which have an off and a list of option should have off as the first not last option. also fix it so the no icon position actually works.
you can use %?Li<no|yes> if you want to. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25063 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/skin_engine/skin_tokens.c')
-rw-r--r--apps/gui/skin_engine/skin_tokens.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/gui/skin_engine/skin_tokens.c b/apps/gui/skin_engine/skin_tokens.c
index 2cd5aaecee..486a2efc76 100644
--- a/apps/gui/skin_engine/skin_tokens.c
+++ b/apps/gui/skin_engine/skin_tokens.c
@@ -418,7 +418,7 @@ const char *get_token_value(struct gui_wps *gwps,
return (char*)token->value.data;
case WPS_TOKEN_LIST_TITLE_ICON:
if (intval)
- *intval = MIN(token->value.i, limit-1);
+ *intval = token->value.i;
snprintf(buf, buf_size, "%d", token->value.i);
return buf;