@techee 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);
Yes, you are right. Well, I could `g_strdup()` the string, use strrchr() to find the `.` and replace it with `\0` which would give us the base name. Or is there some simpler solution?