]> granicus.if.org Git - mutt/commitdiff
Make sure Recent-From: consults $realname. Closes #1721.
authorMichael Elkins <me@sigpipe.org>
Fri, 17 Apr 2009 13:45:23 +0000 (15:45 +0200)
committerMichael Elkins <me@sigpipe.org>
Fri, 17 Apr 2009 13:45:23 +0000 (15:45 +0200)
ChangeLog
sendlib.c

index 83ba9eda70237de4b69b1f8a87142c7bd34b87da..f6dd07a424ee9f716bbe2a2ac95571ead08ef862 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2009-04-17 15:37 +0200  Rocco Rutte  <pdmef@gmx.net>  (3a7ecc3f8aeb)
+
+       * UPDATING, functions.h, pager.c: Make <set-flag> and <clear-flag>
+       work in the pager, too. Closes #3212.
+
+2009-04-17 13:20 +0200  Rocco Rutte  <pdmef@gmx.net>  (b9df4ac3d51e)
+
+       * ChangeLog, pager.c: Don't consider \n part of a line for body
+       coloring. Closes #2363.
+
 2009-04-17 12:47 +0200  Rocco Rutte  <pdmef@gmx.net>  (85414f890777)
 
        * attach.c: Enlarge buffer size for parsing mailcap files
index 25cab080855c285a86ec5a1f11e2250e373d0def..2106e9bb3f6926846b328b3f98439bf3459f4613 100644 (file)
--- a/sendlib.c
+++ b/sendlib.c
@@ -2389,6 +2389,16 @@ int mutt_bounce_message (FILE *fp, HEADER *h, ADDRESS *to)
   resent_from[0] = '\0';
   from = mutt_default_from ();
 
+  /*
+   * mutt_default_from() does not use $realname if the real name is not set
+   * in $from, so we add it here.  The reason it is not added in
+   * mutt_default_from() is that during normal sending, we execute
+   * send-hooks and set the realname last so that it can be changed based
+   * upon message criteria.
+   */
+  if (! from->personal)
+    from->personal = safe_strdup(Realname);
+
   if (fqdn)
     rfc822_qualify (from, fqdn);