summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authordequis <dx@dxzone.com.ar>2015-10-02 13:48:23 -0300
committerdequis <dx@dxzone.com.ar>2015-10-02 13:48:23 -0300
commitef55e0f6534a5b790131c320fd0490a5beb21a68 (patch)
tree9e1ea28c040275d635465450e876b6523266da1f /src/core
parent9c5f6780b286a919bc625011e8571af206e26e86 (diff)
downloadirssi-ef55e0f6534a5b790131c320fd0490a5beb21a68.zip
Add missing null terminator to the g_build_path() varargs
Lemon broke it a few commits ago.
Diffstat (limited to 'src/core')
-rw-r--r--src/core/core.c2
1 files changed, 1 insertions, 1 deletions
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);