all repos — openbox @ 88f83fc927638aef2ca0e174ba12db822df9b7ef

openbox fork - make it a bit more like ryudo

was adding an extra / in ob_expand_tilde
Dana Jansens danakj@orodu.net
commit

88f83fc927638aef2ca0e174ba12db822df9b7ef

parent

3d1e2ab1b477e6690c150ba612c66e38dbddbdfb

1 files changed, 2 insertions(+), 4 deletions(-)

jump to
M openbox/openbox.copenbox/openbox.c

@@ -419,14 +419,12 @@

gchar *ob_expand_tilde(const gchar *f) { gchar **spl; - gchar *ret, *mid; + gchar *ret; if (!f) return NULL; spl = g_strsplit(f, "~", 0); - mid = g_strconcat(g_get_home_dir(), G_DIR_SEPARATOR_S, NULL); - ret = g_strjoinv(mid, spl); - g_free(mid); + ret = g_strjoinv(g_get_home_dir(), spl); g_strfreev(spl); return ret; }