1
0
mirror of https://github.com/moparisthebest/hexchat synced 2024-08-13 16:53:48 -04:00

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:
bviktor 2012-10-31 07:37:23 -07:00
commit 7bd55c4f43

View File

@ -381,7 +381,7 @@ default_file (void)
if (!dfile)
{
dfile = malloc (strlen (get_xdir_fs ()) + 12);
dfile = malloc (strlen (get_xdir_fs ()) + 14);
sprintf (dfile, "%s/hexchat.conf", get_xdir_fs ());
}
return dfile;