1
0
Fork 0
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:
Robert Bieber 2010-06-06 03:45:18 +00:00
parent f3491e97d0
commit b807cb0808

View file

@ -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++;
}