summary refs log tree commit diff stats
path: root/src/common/cfgfiles.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/cfgfiles.c')
-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;