forked from len0rd/rockbox
Theme Editor: Fixed another conditional child-counting bug
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26610 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
f3491e97d0
commit
b807cb0808
1 changed files with 2 additions and 2 deletions
|
|
@ -687,12 +687,12 @@ int skin_parse_conditional(struct skin_element* element, char** document)
|
|||
if(*cursor == ENUMLISTOPENSYM)
|
||||
{
|
||||
nested++;
|
||||
break;
|
||||
}
|
||||
else if(*cursor == ENUMLISTCLOSESYM)
|
||||
{
|
||||
nested--;
|
||||
break;
|
||||
if(nested == 0)
|
||||
break;
|
||||
}
|
||||
cursor++;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue