Fix a bug introduced with r28370 (feature check tag improvements) where %Rp<foo> would fail to parse if the target had recording. Also enable debugging in the checkwps build line

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28473 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jonathan Gordon 2010-11-03 11:08:55 +00:00
parent 934b4d4f61
commit f6cf295dd3
2 changed files with 2 additions and 2 deletions

View file

@ -958,7 +958,7 @@ static int skin_parse_conditional(struct skin_element* element, const char** doc
} }
if (element->tag->flags&FEATURE_TAG) if (element->tag->flags&FEATURE_TAG)
{ {
if (feature_available) if (feature_available && children > 1)
children--; children--;
} }
conditional_end = cursor; conditional_end = cursor;

View file

@ -22,7 +22,7 @@ INCLUDES = -I$(ROOTDIR)/apps/gui \
-I$(BUILDDIR) -I$(BUILDDIR)
# Makes mkdepfile happy # Makes mkdepfile happy
GCCOPTS+=-D__PCTOOL__ -DCHECKWPS GCCOPTS+=-D__PCTOOL__ -DCHECKWPS -g
.SECONDEXPANSION: # $$(OBJ) is not populated until after this .SECONDEXPANSION: # $$(OBJ) is not populated until after this