that malloc should have been made bigger when renaming xchat.conf to hexchat.conf

This commit is contained in:
Daniel Leining 2012-10-31 01:40:11 -04:00
parent 64f1a43d07
commit bc06dffd5d

View File

@ -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;