@techee 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);

Yes, you are right. Well, I could `g_strdup()` the string, use strrchr() to 
find the `.` and replace it with `\0` which would give us the base name. Or is 
there some simpler solution?

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

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

Reply via email to