1
0
mirror of https://github.com/irssi/irssi.git synced 2024-07-21 03:14:16 -04:00

Add missing null terminator to the g_build_path() varargs

Lemon broke it a few commits ago.
This commit is contained in:
dequis 2015-10-02 13:48:23 -03:00
parent 9c5f6780b2
commit ef55e0f653

View File

@ -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);