forked from AuroraMiddleware/gtk
gtk-demo: Ignore some lines in info
Ignore lines starting with # in the info comment at the top of source files. This will be used to add keywords for search in following commits.
This commit is contained in:
parent
cddbc8f1cc
commit
fe6f70efe1
@ -581,6 +581,9 @@ load_file (const char *demoname,
|
||||
while (g_ascii_isspace (*(p + len - 1)))
|
||||
len--;
|
||||
|
||||
if (*p == '#')
|
||||
break;
|
||||
|
||||
if (len > 0)
|
||||
{
|
||||
if (in_para)
|
||||
|
Loading…
Reference in New Issue
Block a user