diff options
author | Thomas Martitz <kugel@rockbox.org> | 2011-05-13 11:38:04 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2011-05-13 11:38:04 +0000 |
commit | 6034978c84d6d800686bc7fd301b016c41b48da8 (patch) | |
tree | 19694e5c35f8d6b1582f1bc84b63c117b08e764b /apps/gui | |
parent | 94dacca5592cd1fd3cdcbe3d569ababc633668c7 (diff) | |
download | rockbox-6034978c84d6d800686bc7fd301b016c41b48da8.tar.gz rockbox-6034978c84d6d800686bc7fd301b016c41b48da8.zip |
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/gui')
-rw-r--r-- | apps/gui/skin_engine/skin_parser.c | 4 |
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 4158165f53..9a63312147 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, | |||
1138 | region->action = ACTION_TOUCH_VOLUME; | 1138 | region->action = ACTION_TOUCH_VOLUME; |
1139 | else | 1139 | else |
1140 | { | 1140 | { |
1141 | if (*action == '&') | 1141 | if (*action == '*') |
1142 | { | 1142 | { |
1143 | action++; | 1143 | action++; |
1144 | region->press_length = LONG_PRESS; | 1144 | region->press_length = LONG_PRESS; |
1145 | } | 1145 | } |
1146 | else if(*action == '*') | 1146 | else if(*action == '&') |
1147 | { | 1147 | { |
1148 | action++; | 1148 | action++; |
1149 | region->press_length = REPEAT; | 1149 | region->press_length = REPEAT; |