that malloc should have been made bigger when renaming xchat.conf to hexchat.conf
This commit is contained in:
parent
64f1a43d07
commit
bc06dffd5d
@ -381,7 +381,7 @@ default_file (void)
|
|||||||
|
|
||||||
if (!dfile)
|
if (!dfile)
|
||||||
{
|
{
|
||||||
dfile = malloc (strlen (get_xdir_fs ()) + 12);
|
dfile = malloc (strlen (get_xdir_fs ()) + 14);
|
||||||
sprintf (dfile, "%s/hexchat.conf", get_xdir_fs ());
|
sprintf (dfile, "%s/hexchat.conf", get_xdir_fs ());
|
||||||
}
|
}
|
||||||
return dfile;
|
return dfile;
|
||||||
|
Loading…
Reference in New Issue
Block a user