[Github-comments] [geany/geany] Use G_DIR_SEPARATOR instead of / when getting short name (PR #3193)

Enrico Tröger notifications at github.com
Sun May 22 14:34:27 UTC 2022


Good catch. Yes, realpath() returns paths with backslashes and so shortening the name doesn't work. Using `G_DIR_SEPARATOR` does fix it.

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

Message ID: <geany/geany/pull/3193/c1133909918 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20220522/1b238085/attachment.htm>


More information about the Github-comments mailing list