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



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

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

Reply via email to