From bc06dffd5de58f65a70178c804b81b03e8216ad8 Mon Sep 17 00:00:00 2001 From: Daniel Leining Date: Wed, 31 Oct 2012 01:40:11 -0400 Subject: that malloc should have been made bigger when renaming xchat.conf to hexchat.conf --- src/common/cfgfiles.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/common/cfgfiles.c b/src/common/cfgfiles.c index 168f116e..69453ddc 100644 --- a/src/common/cfgfiles.c +++ b/src/common/cfgfiles.c @@ -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; -- cgit 1.4.1