summaryrefslogtreecommitdiff
path: root/apps/gui/skin_engine
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
parentfb70ec6ff927684843944c46a0e7869e799367e9 (diff)
downloadrockbox-0376208a484437cd3690aa3661bb84955c4013b0.tar.gz
rockbox-0376208a484437cd3690aa3661bb84955c4013b0.zip
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')
-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,
418 return (char*)token->value.data; 418 return (char*)token->value.data;
419 case WPS_TOKEN_LIST_TITLE_ICON: 419 case WPS_TOKEN_LIST_TITLE_ICON:
420 if (intval) 420 if (intval)
421 *intval = MIN(token->value.i, limit-1); 421 *intval = token->value.i;
422 snprintf(buf, buf_size, "%d", token->value.i); 422 snprintf(buf, buf_size, "%d", token->value.i);
423 return buf; 423 return buf;
424 424