]> granicus.if.org Git - mutt/commitdiff
Expand aliases on the From header.
authorThomas Roessler <roessler@does-not-exist.org>
Thu, 18 Feb 1999 08:31:39 +0000 (08:31 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Thu, 18 Feb 1999 08:31:39 +0000 (08:31 +0000)
headers.c

index a45d2d3f95d1eac7bec29dd481e74b0cebea2430..68a5813ae830fa4c7995ec7654a00e56cf048bbc 100644 (file)
--- a/headers.c
+++ b/headers.c
@@ -101,14 +101,17 @@ void mutt_edit_headers (const char *editor,
   mutt_free_envelope (&msg->env);
   msg->env = n;
 
+  msg->env->from = mutt_expand_aliases (msg->env->from);
   msg->env->to = mutt_expand_aliases (msg->env->to);
   msg->env->cc = mutt_expand_aliases (msg->env->cc);
   msg->env->bcc = mutt_expand_aliases (msg->env->bcc);
   msg->env->reply_to = mutt_expand_aliases (msg->env->reply_to);
   msg->env->mail_followup_to = mutt_expand_aliases (msg->env->mail_followup_to);
 
-  /* search through the user defined headers added to see if either a * fcc:
-     or attach-file: field was specified.  */
+  /* search through the user defined headers added to see if either a 
+   * fcc: or attach-file: field was specified.  
+   */
+
   cur = msg->env->userhdrs;
   while (cur)
   {