forked from len0rd/rockbox
Theme Editor: Made the viewport tag a top-level child under VIEWPORT elements in the parse tree
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26450 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
27d529e186
commit
47cd8786ba
2 changed files with 22 additions and 5 deletions
|
@ -67,10 +67,13 @@ ParseTreeNode::ParseTreeNode(struct skin_element* data, ParseTreeNode* parent)
|
|||
|
||||
case VIEWPORT:
|
||||
case LINE:
|
||||
for(struct skin_element* current = data->children[0]; current;
|
||||
current = current->next)
|
||||
for(int i = 0; i < data->children_count; i++)
|
||||
{
|
||||
children.append(new ParseTreeNode(current, this));
|
||||
for(struct skin_element* current = data->children[i]; current;
|
||||
current = current->next)
|
||||
{
|
||||
children.append(new ParseTreeNode(current, this));
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue