@elextr 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);
IIUC the intention here is to get the filename without the last extension, `g_path_get_basename()` does not do that. But `utils_remove_ext_from_filename()` does.
Note that there are other `strsplit()`s above that may need changing.