1
0
mirror of https://github.com/moparisthebest/hexchat synced 2024-11-22 17:22:18 -05:00

Fix g_strdup_printf() call causing removal of hexchat.conf

This commit is contained in:
Berke Viktor 2012-11-12 07:47:58 +01:00
parent 1e35c196e8
commit fdc316a1ce

View File

@ -849,7 +849,7 @@ save_config (void)
check_prefs_dir (); check_prefs_dir ();
config = default_file (); config = default_file ();
new_config = g_strdup_printf (config, ".new"); new_config = g_strdup_printf ("%s.new", config);
fh = g_open (new_config, OFLAGS | O_TRUNC | O_WRONLY | O_CREAT, 0600); fh = g_open (new_config, OFLAGS | O_TRUNC | O_WRONLY | O_CREAT, 0600);
if (fh == -1) if (fh == -1)