Theme Editor: Fixed parsing bug that allowed comments to form a new logical line in a skin document
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26402 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
9f2e1b1e1a
commit
f9f6f904a8
1 changed files with 4 additions and 0 deletions
|
@ -90,6 +90,10 @@ struct skin_element* skin_parse(char* document)
|
||||||
|
|
||||||
cursor++;
|
cursor++;
|
||||||
}
|
}
|
||||||
|
else if(*cursor == COMMENTSYM)
|
||||||
|
{
|
||||||
|
skip_comment(&cursor);
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
/* Advancing the cursor as normal */
|
/* Advancing the cursor as normal */
|
||||||
|
|
Loading…
Reference in a new issue