summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
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 273d1e49..68bad7a9 100644
--- a/src/common/cfgfiles.c
+++ b/src/common/cfgfiles.c
@@ -849,7 +849,7 @@ save_config (void)
 	check_prefs_dir ();
 
 	config = default_file ();
-	new_config = g_strconcat (config, ".new");
+	new_config = g_strconcat (config, ".new", NULL);
 	
 	fh = g_open (new_config, OFLAGS | O_TRUNC | O_WRONLY | O_CREAT, 0600);
 	if (fh == -1)