@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 know that. `g_path_get_basename()` (or `g_strdup()`) must be combined with `strrchr()` and setting the last dot to `NUL` as per @techee suggestion. `utils_remove_ext_from_filename()` does that and is a good candidate (though I'm not sure if @techee wants to use Geany utility function in tagmanager code).