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:
Robert Bieber 2010-05-30 01:56:50 +00:00
parent 9f2e1b1e1a
commit f9f6f904a8

View file

@ -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 */