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

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/3269#discussion_r974729950
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/pull/3269/review/[email protected]>

Reply via email to