diff options
| author | Jonathan Gordon <rockbox@jdgordon.info> | 2011-05-23 06:02:44 +0000 |
|---|---|---|
| committer | Jonathan Gordon <rockbox@jdgordon.info> | 2011-05-23 06:02:44 +0000 |
| commit | 94257e5e193f79dbe5a8636b765c20eb96869d24 (patch) | |
| tree | 0663f070007d7b838f403b87fa4e56fc239a86b5 /apps | |
| parent | de1529c4eb711a331dfa156efdb799149eb52068 (diff) | |
| download | rockbox-94257e5e193f79dbe5a8636b765c20eb96869d24.zip rockbox-94257e5e193f79dbe5a8636b765c20eb96869d24.tar.gz rockbox-94257e5e193f79dbe5a8636b765c20eb96869d24.tar.bz2 rockbox-94257e5e193f79dbe5a8636b765c20eb96869d24.tar.xz | |
Fix %Tl 'last touch' tag not accepting the timeout
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29916 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
| -rw-r--r-- | apps/gui/skin_engine/skin_parser.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/gui/skin_engine/skin_parser.c b/apps/gui/skin_engine/skin_parser.c index 9a63312..df08fe6 100644 --- a/apps/gui/skin_engine/skin_parser.c +++ b/apps/gui/skin_engine/skin_parser.c @@ -1026,7 +1026,8 @@ static int parse_lasttouch(struct skin_element *element, if (element->params[i].type == STRING) data->region = skin_find_item(element->params[i].data.text, SKIN_FIND_TOUCHREGION, wps_data); - else if (element->params[i].type == INTEGER) + else if (element->params[i].type == INTEGER || + element->params[i].type == DECIMAL) data->timeout = element->params[i].data.number; } |