projects
/
claws.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix performance loss on certain file I/O that doesn't need
[claws.git]
/
src
/
prefs_account.c
diff --git
a/src/prefs_account.c
b/src/prefs_account.c
index 1eb6cee17d029268164b21d69596ee8612cfb01a..5ed582d2b6bb11171ebc7aba72d792c568d1a85e 100644
(file)
--- a/
src/prefs_account.c
+++ b/
src/prefs_account.c
@@
-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());
}