Fix silly mistake
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30595 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
5903c07ad7
commit
40f05b6ca1
1 changed files with 1 additions and 1 deletions
|
@ -935,7 +935,7 @@ const char *get_token_value(struct gui_wps *gwps,
|
|||
case SKIN_TOKEN_LIST_ITEM_NUMBER:
|
||||
if (intval)
|
||||
*intval = skinlist_get_item_number() + 1;
|
||||
snprintf(buf, buf_size, "%d",skinlist_get_item_number()) + 1;
|
||||
snprintf(buf, buf_size, "%d",skinlist_get_item_number() + 1);
|
||||
return buf;
|
||||
case SKIN_TOKEN_LIST_ITEM_IS_SELECTED:
|
||||
return skinlist_is_selected_item()?"s":"";
|
||||
|
|
Loading…
Reference in a new issue