1
0
Fork 0
forked from len0rd/rockbox

Fix %Tl 'last touch' tag not accepting the timeout

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29916 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jonathan Gordon 2011-05-23 06:02:44 +00:00
parent de1529c4eb
commit 94257e5e19

View file

@ -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;
}