From 00dee0feac2747a5f2330d8218f70fe7a6a43d03 Mon Sep 17 00:00:00 2001 From: bieber Date: Sun, 30 May 2010 01:56:50 +0000 Subject: [PATCH] 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(+) diff --git a/utils/themeeditor/skin_parser.c b/utils/themeeditor/skin_parser.c index 2f68cdf1c..655c3d18a 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 */ -- 2.11.4.GIT