From 94257e5e193f79dbe5a8636b765c20eb96869d24 Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Mon, 23 May 2011 06:02:44 +0000 Subject: Fix %Tl 'last touch' tag not accepting the timeout git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29916 a1c6a512-1295-4272-9138-f99709370657 --- apps/gui/skin_engine/skin_parser.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } -- cgit v1.2.3