summaryrefslogtreecommitdiffstats
path: root/copy.c
diff options
context:
space:
mode:
authorKevin McCarthy <kevin@8t8.us>2018-12-27 16:24:27 -0800
committerKevin McCarthy <kevin@8t8.us>2018-12-27 16:24:27 -0800
commit8bb109563f0147fe53b681d5e887a634bdb3a1d1 (patch)
treec8abfcc5a35da87bc64474c85543dcd295ff531d /copy.c
parent75f2445ca5e89ea16b47982fc63304f9464f5d85 (diff)
Restore the xlabel_changed reset.
The cherry pick accidentally obliterated the reset. That flag is now located in hdr->env->changed in the branch and is reset properly elsewhere. Keep it in place in the stable branch.
Diffstat (limited to 'copy.c')
-rw-r--r--copy.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/copy.c b/copy.c
index f072869b..1a971558 100644
--- a/copy.c
+++ b/copy.c
@@ -423,6 +423,7 @@ mutt_copy_header (FILE *in, HEADER *h, FILE *out, int flags, const char *prefix)
if ((flags & CH_UPDATE_LABEL) && h->env->x_label)
{
+ h->xlabel_changed = 0;
if (!(flags & CH_DECODE))
rfc2047_encode_string (&h->env->x_label);
if (mutt_write_one_header (out, "X-Label", h->env->x_label,