summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorbviktor <bviktor@outlook.com>2012-10-31 07:37:23 -0700
committerbviktor <bviktor@outlook.com>2012-10-31 07:37:23 -0700
commit7bd55c4f43604975a1f6f1e264047d5312d05df6 (patch)
tree1de7e290da8f697373beab9e463e3afe8f37b93b /src
parent64f1a43d07adc84dbad32b6434f408e1f0a6c770 (diff)
parentbc06dffd5de58f65a70178c804b81b03e8216ad8 (diff)
Merge pull request #212 from blasphemy/malloc
that malloc should have been made bigger when renaming xchat.conf to hex...
Diffstat (limited to 'src')
-rw-r--r--src/common/cfgfiles.c2
1 files changed, 1 insertions, 1 deletions
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;