aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-callbacks.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mail-callbacks.c')
-rw-r--r--mail/mail-callbacks.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/mail/mail-callbacks.c b/mail/mail-callbacks.c
index b6a9f9bcea..6581463c88 100644
--- a/mail/mail-callbacks.c
+++ b/mail/mail-callbacks.c
@@ -366,13 +366,13 @@ create_msg_composer (const char *url)
if (id)
sig_file = id->sig;
- if (url != NULL)
+ if (url != NULL) {
composer = e_msg_composer_new_from_url (url);
- else
- composer = e_msg_composer_new_with_sig_file (sig_file);
- if (composer)
- e_msg_composer_set_send_html (composer, send_html);
-
+ if (composer)
+ e_msg_composer_set_send_html (composer, send_html);
+ } else
+ composer = e_msg_composer_new_with_sig_file (sig_file, send_html);
+
return (GtkWidget *)composer;
}