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:
parent
de1529c4eb
commit
94257e5e19
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue