Merge pull request #212 from blasphemy/malloc
that malloc should have been made bigger when renaming xchat.conf to hex...
This commit is contained in:
commit
7bd55c4f43
@ -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