@kugel- commented on this pull request.
{
- TMSourceFile *hdr = tm_files->pdata[j]; + TMSourceFile *hdr = tm_files->pdata[0]; gchar **hdr_comps = g_strsplit(hdr->short_name, ".", 2);
I think I would use `g_path_get_basename()` instead of `g_strdup()`. But it doesn't matter much so yea I don't know a simpler solution.