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@github.com