diff options
Diffstat (limited to 'lib/skin_parser')
-rw-r--r-- | lib/skin_parser/skin_parser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/skin_parser/skin_parser.c b/lib/skin_parser/skin_parser.c index f574d3f7a2..689a315bfa 100644 --- a/lib/skin_parser/skin_parser.c +++ b/lib/skin_parser/skin_parser.c | |||
@@ -958,7 +958,7 @@ static int skin_parse_conditional(struct skin_element* element, const char** doc | |||
958 | } | 958 | } |
959 | if (element->tag->flags&FEATURE_TAG) | 959 | if (element->tag->flags&FEATURE_TAG) |
960 | { | 960 | { |
961 | if (feature_available) | 961 | if (feature_available && children > 1) |
962 | children--; | 962 | children--; |
963 | } | 963 | } |
964 | conditional_end = cursor; | 964 | conditional_end = cursor; |