summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRobert Bieber <robby@bieberphoto.com>2010-06-22 18:51:44 +0000
committerRobert Bieber <robby@bieberphoto.com>2010-06-22 18:51:44 +0000
commit09db2ae2038c21fa3fd9fbbdb47d980af038a2af (patch)
tree26d9ef24393c91d32c7aa2ca45534c41b3797683 /lib
parentf32bd593c426755a140556ed1b5230447e5da726 (diff)
downloadrockbox-09db2ae2038c21fa3fd9fbbdb47d980af038a2af.tar.gz
rockbox-09db2ae2038c21fa3fd9fbbdb47d980af038a2af.tar.bz2
rockbox-09db2ae2038c21fa3fd9fbbdb47d980af038a2af.zip
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')
-rw-r--r--lib/skin_parser/skin_parser.c2
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