diff options
author | Robert Bieber <robby@bieberphoto.com> | 2010-05-30 01:56:50 +0000 |
---|---|---|
committer | Robert Bieber <robby@bieberphoto.com> | 2010-05-30 01:56:50 +0000 |
commit | f9f6f904a8be20d7ebdb9300bff72e5a0c536f17 (patch) | |
tree | 3a1cd398c233943f841fbd68e8a8f96a36d17128 | |
parent | 9f2e1b1e1a1dae857fe74728b91c5393d5f1c283 (diff) | |
download | rockbox-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.c | 4 |
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) | |||
90 | 90 | ||
91 | cursor++; | 91 | cursor++; |
92 | } | 92 | } |
93 | else if(*cursor == COMMENTSYM) | ||
94 | { | ||
95 | skip_comment(&cursor); | ||
96 | } | ||
93 | else | 97 | else |
94 | { | 98 | { |
95 | /* Advancing the cursor as normal */ | 99 | /* Advancing the cursor as normal */ |