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

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, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <geany/geany/pull/3269/review/1112518986@github.com>