1
0
Fork 0
forked from len0rd/rockbox

Skin engine: Swap meaning of & and * for touch regions.

r29653 broke compatibility in a unnecessary way, including shipped themes (cabbieve2). Swapping restores compatibility.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29866 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Thomas Martitz 2011-05-13 11:38:04 +00:00
parent 94dacca559
commit 6034978c84

View file

@ -1138,12 +1138,12 @@ static int parse_touchregion(struct skin_element *element,
region->action = ACTION_TOUCH_VOLUME;
else
{
if (*action == '&')
if (*action == '*')
{
action++;
region->press_length = LONG_PRESS;
}
else if(*action == '*')
else if(*action == '&')
{
action++;
region->press_length = REPEAT;