summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2011-05-13 11:38:04 +0000
committerThomas Martitz <kugel@rockbox.org>2011-05-13 11:38:04 +0000
commit6034978c84d6d800686bc7fd301b016c41b48da8 (patch)
tree19694e5c35f8d6b1582f1bc84b63c117b08e764b /apps
parent94dacca5592cd1fd3cdcbe3d569ababc633668c7 (diff)
downloadrockbox-6034978c84d6d800686bc7fd301b016c41b48da8.zip
rockbox-6034978c84d6d800686bc7fd301b016c41b48da8.tar.gz
rockbox-6034978c84d6d800686bc7fd301b016c41b48da8.tar.bz2
rockbox-6034978c84d6d800686bc7fd301b016c41b48da8.tar.xz
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
Diffstat (limited to 'apps')
-rw-r--r--apps/gui/skin_engine/skin_parser.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/gui/skin_engine/skin_parser.c b/apps/gui/skin_engine/skin_parser.c
index 4158165..9a63312 100644
--- a/apps/gui/skin_engine/skin_parser.c
+++ b/apps/gui/skin_engine/skin_parser.c
@@ -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;