fix comments in yml theme files

This commit is contained in:
kkoenig1@optonline.com
2021-10-07 10:38:38 +11:00
committed by Peter Feerick
parent ab9d026f17
commit 2c7e175b56
+1 -1
View File
@@ -71,7 +71,7 @@ void ThemeFile::scanFile()
} else if (lineNo != 1) {
if (line[0] != ' ' && line[0] != '\t') {
char *pline = trim(line);
if (line[strlen(line) - 1] != ':') {
if (line[strlen(line) - 1] != ':' && pline[0] != '#') {
TRACE("invalid yml file at line %d", lineNo);
return;
}