diff options
-rw-r--r-- | mail/ChangeLog | 5 | ||||
-rw-r--r-- | mail/mail-ops.c | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index b500a09c60..9ed17f4279 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,8 @@ +2000-07-10 Ettore Perazzoli <ettore@helixcode.com> + + * mail-ops.c (forward_msg): Initialize `fwd_subj' to NULL if + `from' is NULL. + 2000-07-10 Jeffrey Stedfast <fejj@helixcode.com> * mail-ops.c (real_fetch_mail): Fixed broken POP fetching diff --git a/mail/mail-ops.c b/mail/mail-ops.c index 335b8e71f6..fdf3bbbf2c 100644 --- a/mail/mail-ops.c +++ b/mail/mail-ops.c @@ -699,7 +699,10 @@ forward_msg (GtkWidget *button, gpointer user_data) fwd_subj = g_strdup_printf ("[%s] (forwarded message)", from); } + } else { + fwd_subj = NULL; } + e_msg_composer_set_headers (composer, NULL, NULL, NULL, fwd_subj); g_free (fwd_subj); |