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 | |
parent | f3491e97d0d96f8df8a3c5a16efdef19c0796770 (diff) | |
download | rockbox-b807cb0808b2c045e0fdcd332c711a713eb25032.tar.gz rockbox-b807cb0808b2c045e0fdcd332c711a713eb25032.zip |
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')
-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 c7df7af0c0..c046dc66ad 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) | |||
687 | if(*cursor == ENUMLISTOPENSYM) | 687 | if(*cursor == ENUMLISTOPENSYM) |
688 | { | 688 | { |
689 | nested++; | 689 | nested++; |
690 | break; | ||
691 | } | 690 | } |
692 | else if(*cursor == ENUMLISTCLOSESYM) | 691 | else if(*cursor == ENUMLISTCLOSESYM) |
693 | { | 692 | { |
694 | nested--; | 693 | nested--; |
695 | break; | 694 | if(nested == 0) |
695 | break; | ||
696 | } | 696 | } |
697 | cursor++; | 697 | cursor++; |
698 | } | 698 | } |