@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 see this only now. Doesn't that break on files with multiple dots in name? I thought we want to compare the base name without extension, i.e. up until the last dot.