summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2011-03-01 07:26:11 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2011-03-01 07:26:11 +0000
commitfb3616368f5e9994716e30a040865f3cf398aa21 (patch)
treea5b6f171e058539394ecab91c45211341d21165b /lib
parent55fab772b7399737e9c22737f91cd3e74c793872 (diff)
downloadrockbox-fb3616368f5e9994716e30a040865f3cf398aa21.tar.gz
rockbox-fb3616368f5e9994716e30a040865f3cf398aa21.tar.bz2
rockbox-fb3616368f5e9994716e30a040865f3cf398aa21.zip
Remove code duplication in some generic skin touch action handling.
fix a bug which stopped the setting_inc/dec touch actions from parsing git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29477 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'lib')
-rw-r--r--lib/skin_parser/tag_table.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/skin_parser/tag_table.c b/lib/skin_parser/tag_table.c
index a4989c1025..68e4b03a4e 100644
--- a/lib/skin_parser/tag_table.c
+++ b/lib/skin_parser/tag_table.c
@@ -206,10 +206,10 @@ static const struct tag_info legal_tags[] =
/* HACK Alert (jdgordon): The next two tags have hacks so we could
* add a S param at the front without breaking old skins.
* [SD]D <- handled by the callback, allows SD or S or D params
- * [SI]III[SI]|S -< SIIIIS|S or IIIIS|S
+ * [SI]III[SI]|SS -< SIIIIS|S or IIIIS|S
* keep in sync with parse_touchregion() and parse_lasttouch() */
{ SKIN_TOKEN_LASTTOUCH, "Tl" , "|[SD]D", SKIN_REFRESH_DYNAMIC },
- { SKIN_TOKEN_TOUCHREGION, "T" , "[SI]III[SI]|S", 0|NOBREAK },
+ { SKIN_TOKEN_TOUCHREGION, "T" , "[SI]III[SI]|SS", 0|NOBREAK },
{ SKIN_TOKEN_HAVE_TOUCH, "Tp", "", FEATURE_TAG },