LarsGit223 commented on this pull request.


> + * string with g_free().
+ *
+ * @param base     The absolute path.
+ * @param relative The relative path.
+ * @return Combined path or NULL if no memory is available
+ *
+ **/
+gchar *get_combined_path(const gchar *base, const gchar *relative)
+{
+       gchar *basedir, *basedir_end;
+       const gchar *start;
+       gchar *result;
+       guint length;
+       gint goback;
+
+       if (relative[0] != '.')

I re-factored the function. It is now handling all relative pathes and uses 
```g_strconcat```.

-- 
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-plugins/pull/598#discussion_r134121212

Reply via email to