libsysprof: allow comments with #

This commit is contained in:
Christian Hergert
2023-07-21 11:55:46 -07:00
parent a99a89782a
commit 67a284c8b4

View File

@ -166,7 +166,8 @@ sysprof_categories_new (void)
lineno++;
g_strstrip (line);
if (line[0] == 0)
/* # starts comment line */
if (line[0] == 0 || line[0] == '#')
continue;
/* Group lines look like "binary nick:\n" */