mirror of
https://github.com/irssi/irssi.git
synced 2025-01-03 14:56:47 -05: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