From a0e83f3821c0c4aa67d00ef136074cc99b618def Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Fri, 23 Jul 2010 16:24:12 +0000 Subject: 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 --- apps/gui/skin_engine/skin_parser.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'apps/gui/skin_engine/skin_parser.c') diff --git a/apps/gui/skin_engine/skin_parser.c b/apps/gui/skin_engine/skin_parser.c index 886aeaed56..650092557f 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; -- cgit v1.2.3