summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2011-05-23 06:02:44 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2011-05-23 06:02:44 +0000
commit94257e5e193f79dbe5a8636b765c20eb96869d24 (patch)
tree0663f070007d7b838f403b87fa4e56fc239a86b5 /apps
parentde1529c4eb711a331dfa156efdb799149eb52068 (diff)
downloadrockbox-94257e5e193f79dbe5a8636b765c20eb96869d24.tar.gz
rockbox-94257e5e193f79dbe5a8636b765c20eb96869d24.tar.bz2
rockbox-94257e5e193f79dbe5a8636b765c20eb96869d24.zip
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.c3
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 9a63312147..df08fe6115 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;
}