diff options
| author | Robert Bieber <robby@bieberphoto.com> | 2010-06-06 03:45:18 +0000 |
|---|---|---|
| committer | Robert Bieber <robby@bieberphoto.com> | 2010-06-06 03:45:18 +0000 |
| commit | b807cb0808b2c045e0fdcd332c711a713eb25032 (patch) | |
| tree | b30627c381f986b19d30377b1aa32d67cf29866b /utils/themeeditor | |
| parent | f3491e97d0d96f8df8a3c5a16efdef19c0796770 (diff) | |
| download | rockbox-b807cb0808b2c045e0fdcd332c711a713eb25032.zip rockbox-b807cb0808b2c045e0fdcd332c711a713eb25032.tar.gz rockbox-b807cb0808b2c045e0fdcd332c711a713eb25032.tar.bz2 rockbox-b807cb0808b2c045e0fdcd332c711a713eb25032.tar.xz | |
Theme Editor: Fixed another conditional child-counting bug
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26610 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'utils/themeeditor')
| -rw-r--r-- | utils/themeeditor/skin_parser.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/themeeditor/skin_parser.c b/utils/themeeditor/skin_parser.c index c7df7af..c046dc6 100644 --- a/utils/themeeditor/skin_parser.c +++ b/utils/themeeditor/skin_parser.c @@ -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++; } |