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
1 changed files with 1 additions and 1 deletions

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;