@kugel- commented on this pull request.
{
guint j;
- for (j = 0; j < tm_files->len; j++) + if (!*header_candidates)
You are right, I didn't notice the outer loop. So I guess the idea is to avoid multiple assignments to `*header_candidates` in case a file is included multiple times (maybe legitimately, via different directories)?
So I think this is alright now.