skin_parser: Fixed bug handling sublines with no content
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27060 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
f32bd593c4
commit
09db2ae203
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue