summaryrefslogtreecommitdiff
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
parentde1529c4eb711a331dfa156efdb799149eb52068 (diff)
downloadrockbox-94257e5e193f79dbe5a8636b765c20eb96869d24.tar.gz
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
-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,
1026 if (element->params[i].type == STRING) 1026 if (element->params[i].type == STRING)
1027 data->region = skin_find_item(element->params[i].data.text, 1027 data->region = skin_find_item(element->params[i].data.text,
1028 SKIN_FIND_TOUCHREGION, wps_data); 1028 SKIN_FIND_TOUCHREGION, wps_data);
1029 else if (element->params[i].type == INTEGER) 1029 else if (element->params[i].type == INTEGER ||
1030 element->params[i].type == DECIMAL)
1030 data->timeout = element->params[i].data.number; 1031 data->timeout = element->params[i].data.number;
1031 } 1032 }
1032 1033