mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-10-25 13:55:38 +00:00
Fix g_strdup_printf() call causing removal of hexchat.conf
This commit is contained in:
1 parent
1e35c196e8
commit
fdc316a1ce
1 file changed
+1
-1
@@ -849,7 +849,7 @@ save_config (void)
|
||||
check_prefs_dir ();
|
||||
|
||||
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);
|
||||
if (fh == -1)
|
||||
|
||||
Reference in new issue
Block a user