summaryrefslogtreecommitdiffstats
path: root/lib/skin_parser
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2012-02-26 00:42:53 +1100
committerJonathan Gordon <rockbox@jdgordon.info>2012-02-26 00:50:14 +1100
commit31a05953e142b1ffff631cfb8b817880db7e4c27 (patch)
tree499dd370eb2b3b8fad4be38be2ca6bb03bcfdcc8 /lib/skin_parser
parent3cdd50bf41504d783b57502e685de481ac62e2f8 (diff)
downloadrockbox-31a05953e142b1ffff631cfb8b817880db7e4c27.tar.gz
rockbox-31a05953e142b1ffff631cfb8b817880db7e4c27.tar.bz2
rockbox-31a05953e142b1ffff631cfb8b817880db7e4c27.zip
FS#12586 - Modify %ss to be able to use numbers for conditionals
i.e %?ss(1,1,%cM)<|one|two|three|...|> or %xd(numbers, %ss(1,1%cM) Change-Id: I74ecb3f253f3be1fd270f75c0ef79addd364a7de
Diffstat (limited to 'lib/skin_parser')
-rw-r--r--lib/skin_parser/tag_table.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/skin_parser/tag_table.c b/lib/skin_parser/tag_table.c
index d10b319dcf..14876d11c4 100644
--- a/lib/skin_parser/tag_table.c
+++ b/lib/skin_parser/tag_table.c
@@ -240,7 +240,7 @@ static const struct tag_info legal_tags[] =
{ SKIN_TOKEN_VAR_GETVAL, "vg", "S", SKIN_REFRESH_DYNAMIC },
{ SKIN_TOKEN_VAR_TIMEOUT, "vl", "S|D", SKIN_REFRESH_DYNAMIC },
- { SKIN_TOKEN_SUBSTRING, "ss", "IiT", SKIN_REFRESH_DYNAMIC },
+ { SKIN_TOKEN_SUBSTRING, "ss", "IiT|s", SKIN_REFRESH_DYNAMIC },
{ SKIN_TOKEN_UNKNOWN, "" , "", 0 }
/* Keep this here to mark the end of the table */
};