From ef55e0f6534a5b790131c320fd0490a5beb21a68 Mon Sep 17 00:00:00 2001 From: dequis Date: Fri, 2 Oct 2015 13:48:23 -0300 Subject: [PATCH] Add missing null terminator to the g_build_path() varargs Lemon broke it a few commits ago. --- src/core/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/core.c b/src/core/core.c index 879d346f..bbeec6f4 100644 --- a/src/core/core.c +++ b/src/core/core.c @@ -161,7 +161,7 @@ static char *fix_path(const char *str) char *tmp_str = new_str; char *current_dir = g_get_current_dir(); - new_str = g_build_path(G_DIR_SEPARATOR_S, current_dir, tmp_str); + new_str = g_build_path(G_DIR_SEPARATOR_S, current_dir, tmp_str, NULL); g_free(current_dir); g_free(tmp_str);