summaryrefslogtreecommitdiff
path: root/utils/themeeditor/skin_parser.c
diff options
context:
space:
mode:
authorRobert Bieber <robby@bieberphoto.com>2010-06-02 05:45:34 +0000
committerRobert Bieber <robby@bieberphoto.com>2010-06-02 05:45:34 +0000
commit999990c23470bfa1340fe6356f85ae2e086cf052 (patch)
treeab1daf7a3c361267aeed5088e4bd6e011a2b1b29 /utils/themeeditor/skin_parser.c
parentf02a2446d3c05b824cbbb887834ce82a7cd8fe0b (diff)
downloadrockbox-999990c23470bfa1340fe6356f85ae2e086cf052.zip
rockbox-999990c23470bfa1340fe6356f85ae2e086cf052.tar.gz
rockbox-999990c23470bfa1340fe6356f85ae2e086cf052.tar.bz2
rockbox-999990c23470bfa1340fe6356f85ae2e086cf052.tar.xz
Theme Editor: Fixed a small bug with asterisk handling in tag parameter argument codes and fixed bugs with handling escaped characters
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26460 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'utils/themeeditor/skin_parser.c')
-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 6902679..860970b 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)
if(!skin_parse_conditional(current, &cursor))
return NULL;
}
- else if(*cursor == TAGSYM)
+ else if(*cursor == TAGSYM && !find_escape_character(cursor[1]))
{
if(!skin_parse_tag(current, &cursor))
return NULL;
@@ -557,7 +557,7 @@ int skin_parse_tag(struct skin_element* element, char** document)
}
/* Checking for a premature end */
- if(*tag_args != '\0' && !(optional && !star))
+ if(*tag_args != '\0' && !optional)
{
skin_error(INSUFFICIENT_ARGS);
return 0;