mirror of
https://github.com/irssi/irssi.git
synced 2024-09-01 04: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:
parent
9c5f6780b2
commit
ef55e0f653
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user