From 09db2ae2038c21fa3fd9fbbdb47d980af038a2af Mon Sep 17 00:00:00 2001 From: Robert Bieber Date: Tue, 22 Jun 2010 18:51:44 +0000 Subject: [PATCH] skin_parser: Fixed bug handling sublines with no content git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27060 a1c6a512-1295-4272-9138-f99709370657 --- lib/skin_parser/skin_parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/skin_parser/skin_parser.c b/lib/skin_parser/skin_parser.c index 9c360231e1..b9485208ab 100644 --- a/lib/skin_parser/skin_parser.c +++ b/lib/skin_parser/skin_parser.c @@ -241,7 +241,7 @@ static struct skin_element* skin_parse_line_optional(char** document, retval = skin_alloc_element(); retval->type = LINE; retval->line = skin_line; - if(*cursor != '\0' && *cursor != '\n' + if(*cursor != '\0' && *cursor != '\n' && *cursor != MULTILINESYM && !(conditional && (*cursor == ARGLISTSEPERATESYM || *cursor == ARGLISTCLOSESYM || *cursor == ENUMLISTSEPERATESYM