From 3d611ccf46f051f83caa8849dffdd28e7ae28b88 Mon Sep 17 00:00:00 2001 From: kugel Date: Fri, 23 Jul 2010 16:24:12 +0000 Subject: [PATCH] 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(+) diff --git a/apps/gui/skin_engine/skin_parser.c b/apps/gui/skin_engine/skin_parser.c index 886aeaed5..650092557 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; -- 2.11.4.GIT