@kugel- commented on this pull request.


In src/tagmanager/tm_workspace.c:

>  			{
-				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).


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <geany/geany/pull/3269/review/1112937518@github.com>