From f9f6f904a8be20d7ebdb9300bff72e5a0c536f17 Mon Sep 17 00:00:00 2001 From: Robert Bieber Date: Sun, 30 May 2010 01:56:50 +0000 Subject: 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 --- utils/themeeditor/skin_parser.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'utils/themeeditor/skin_parser.c') 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 */ -- cgit v1.2.3