@techee commented on this pull request.
> @@ -241,6 +241,33 @@ void tm_ctags_clear_ignore_symbols(void) } +static gboolean replace_str(gchar **where, const gchar *what, gsize what_len, + const gchar *replacement, gsize replacement_len) +{ + if (where && *where) + { + gchar *pos = strstr(*where, what); + + if (pos) + { + gsize where_len = strlen(*where); + gchar *str = g_malloc(where_len + (replacement_len - what_len) + 1); Ah, I only noticed your message now. The gsize change I made should be alright too, right? -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/pull/3785#discussion_r1576894728 You are receiving this because you are subscribed to this thread. Message ID: <geany/geany/pull/3785/review/2018304...@github.com>