diff options
author | Robert Bieber <robby@bieberphoto.com> | 2010-06-22 18:51:44 +0000 |
---|---|---|
committer | Robert Bieber <robby@bieberphoto.com> | 2010-06-22 18:51:44 +0000 |
commit | 09db2ae2038c21fa3fd9fbbdb47d980af038a2af (patch) | |
tree | 26d9ef24393c91d32c7aa2ca45534c41b3797683 /lib/skin_parser | |
parent | f32bd593c426755a140556ed1b5230447e5da726 (diff) |
skin_parser: Fixed bug handling sublines with no content
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27060 a1c6a512-1295-4272-9138-f99709370657
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 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 |