diff options
Diffstat (limited to 'mail/mail-ops.c')
-rw-r--r-- | mail/mail-ops.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/mail/mail-ops.c b/mail/mail-ops.c index aa0323e842..41211d20ea 100644 --- a/mail/mail-ops.c +++ b/mail/mail-ops.c @@ -571,8 +571,8 @@ composer_send_cb (EMsgComposer *composer, gpointer data) message = e_msg_composer_get_message (composer); subject = camel_mime_message_get_subject (message); - if (subject == NULL || subject[0] == '\0') { - if (! ask_confirm_for_empty_subject (composer)) { + if (!subject || !*subject) { + if (!ask_confirm_for_empty_subject (composer)) { gtk_object_unref (GTK_OBJECT (message)); return; } @@ -750,8 +750,6 @@ forward_msg (GtkWidget *button, gpointer user_data) subject = camel_mime_message_get_subject (cursor_msg); if (from) { if (subject && *subject) { - while (*subject == ' ') - subject++; fwd_subj = g_strdup_printf ("[%s] %s", from, subject); } else { fwd_subj = g_strdup_printf ("[%s] (forwarded message)", |