diff options
Diffstat (limited to 'utils/themeeditor/skin_parser.c')
-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 6902679bc1..860970b7e7 100644 --- a/utils/themeeditor/skin_parser.c +++ b/utils/themeeditor/skin_parser.c | |||
@@ -257,7 +257,7 @@ struct skin_element* skin_parse_line_optional(char** document, int conditional) | |||
257 | if(!skin_parse_conditional(current, &cursor)) | 257 | if(!skin_parse_conditional(current, &cursor)) |
258 | return NULL; | 258 | return NULL; |
259 | } | 259 | } |
260 | else if(*cursor == TAGSYM) | 260 | else if(*cursor == TAGSYM && !find_escape_character(cursor[1])) |
261 | { | 261 | { |
262 | if(!skin_parse_tag(current, &cursor)) | 262 | if(!skin_parse_tag(current, &cursor)) |
263 | return NULL; | 263 | return NULL; |
@@ -557,7 +557,7 @@ int skin_parse_tag(struct skin_element* element, char** document) | |||
557 | } | 557 | } |
558 | 558 | ||
559 | /* Checking for a premature end */ | 559 | /* Checking for a premature end */ |
560 | if(*tag_args != '\0' && !(optional && !star)) | 560 | if(*tag_args != '\0' && !optional) |
561 | { | 561 | { |
562 | skin_error(INSUFFICIENT_ARGS); | 562 | skin_error(INSUFFICIENT_ARGS); |
563 | return 0; | 563 | return 0; |