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:
parent
94dacca559
commit
6034978c84
1 changed files with 2 additions and 2 deletions
|
@ -1138,12 +1138,12 @@ static int parse_touchregion(struct skin_element *element,
|
||||||
region->action = ACTION_TOUCH_VOLUME;
|
region->action = ACTION_TOUCH_VOLUME;
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (*action == '&')
|
if (*action == '*')
|
||||||
{
|
{
|
||||||
action++;
|
action++;
|
||||||
region->press_length = LONG_PRESS;
|
region->press_length = LONG_PRESS;
|
||||||
}
|
}
|
||||||
else if(*action == '*')
|
else if(*action == '&')
|
||||||
{
|
{
|
||||||
action++;
|
action++;
|
||||||
region->press_length = REPEAT;
|
region->press_length = REPEAT;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue