summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2010-07-23 16:24:12 +0000
committerThomas Martitz <kugel@rockbox.org>2010-07-23 16:24:12 +0000
commita0e83f3821c0c4aa67d00ef136074cc99b618def (patch)
tree42ed159d737b64eca5043e460eb0b93112e51e8a
parent28ba570e68904f77ae4853d794f4041a4ab447f2 (diff)
downloadrockbox-a0e83f3821c0c4aa67d00ef136074cc99b618def.zip
rockbox-a0e83f3821c0c4aa67d00ef136074cc99b618def.tar.gz
rockbox-a0e83f3821c0c4aa67d00ef136074cc99b618def.tar.bz2
rockbox-a0e83f3821c0c4aa67d00ef136074cc99b618def.tar.xz
Make %tx work as intended, so that it ignores the true case for non-RDS targets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27531 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/gui/skin_engine/skin_parser.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/gui/skin_engine/skin_parser.c b/apps/gui/skin_engine/skin_parser.c
index 886aeae..6500925 100644
--- a/apps/gui/skin_engine/skin_parser.c
+++ b/apps/gui/skin_engine/skin_parser.c
@@ -1785,7 +1785,12 @@ static int check_feature_tag(const char *wps_bufptr, const int type)
if (radio_hardware_present())
return 0;
#endif
+ case WPS_TOKEN_HAVE_RDS:
+#ifdef HAVE_RDS_CAP
+ return 0;
+#else
return find_false_branch(wps_bufptr);
+#endif
default: /* not a tag we care about, just don't skip */
return 0;