summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Bieber <robby@bieberphoto.com>2010-05-30 01:56:50 +0000
committerRobert Bieber <robby@bieberphoto.com>2010-05-30 01:56:50 +0000
commitf9f6f904a8be20d7ebdb9300bff72e5a0c536f17 (patch)
tree3a1cd398c233943f841fbd68e8a8f96a36d17128
parent9f2e1b1e1a1dae857fe74728b91c5393d5f1c283 (diff)
downloadrockbox-f9f6f904a8be20d7ebdb9300bff72e5a0c536f17.tar.gz
rockbox-f9f6f904a8be20d7ebdb9300bff72e5a0c536f17.zip
Theme Editor: Fixed parsing bug that allowed comments to form a new logical line in a skin document
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26402 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--utils/themeeditor/skin_parser.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/utils/themeeditor/skin_parser.c b/utils/themeeditor/skin_parser.c
index 2f68cdf1c8..655c3d18a5 100644
--- a/utils/themeeditor/skin_parser.c
+++ b/utils/themeeditor/skin_parser.c
@@ -90,6 +90,10 @@ struct skin_element* skin_parse(char* document)
cursor++;
}
+ else if(*cursor == COMMENTSYM)
+ {
+ skip_comment(&cursor);
+ }
else
{
/* Advancing the cursor as normal */