[Github-comments] [geany/geany] use relative path in project file (#2667)
Keuronde
notifications at xxxxx
Tue Feb 2 20:18:36 UTC 2021
@Keuronde commented on this pull request.
I didn't find a better way...
> {
geany_debug("Relative path %s, root folder %s", locale_filename, root_folder);
gchar *absolute_path;
- absolute_path = g_strconcat(root_folder, &(locale_filename[1]), NULL);
+ absolute_path = g_strconcat(root_folder, "/", locale_filename, NULL);
Is there a better way to add a "path separator" than using "/" ? I didn't find any constant in the glib...
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/2667#pullrequestreview-535727287
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20210202/8f931f28/attachment.htm>
More information about the Github-comments
mailing list