Fix performance loss on certain file I/O that doesn't need
[claws.git] / src / prefs_account.c
index 1eb6cee17d029268164b21d69596ee8612cfb01a..5ed582d2b6bb11171ebc7aba72d792c568d1a85e 100644 (file)
@@ -4557,7 +4557,7 @@ static void prefs_account_signature_edit_cb(GtkWidget *widget, gpointer data)
 {
        const gchar *sigpath = gtk_entry_get_text(GTK_ENTRY(data));
        if (!is_file_exist(sigpath))
-               str_write_to_file(sigpath, "");
+               str_write_to_file(sigpath, "", TRUE);
        open_txt_editor(sigpath, prefs_common_get_ext_editor_cmd());
 }