summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorDaniel Leining <daniel@the-beach.co>2012-10-31 01:40:11 -0400
committerDaniel Leining <daniel@the-beach.co>2012-10-31 01:40:11 -0400
commitbc06dffd5de58f65a70178c804b81b03e8216ad8 (patch)
tree1de7e290da8f697373beab9e463e3afe8f37b93b /src
parent64f1a43d07adc84dbad32b6434f408e1f0a6c770 (diff)
that malloc should have been made bigger when renaming xchat.conf to hexchat.conf
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;