summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--utils/themeeditor/skin_parser.c4
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 }