From: Kevin McCarthy Date: Fri, 28 Dec 2018 00:24:27 +0000 (-0800) Subject: Restore the xlabel_changed reset. X-Git-Tag: mutt-1-11-2-rel~5 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8bb109563f0147fe53b681d5e887a634bdb3a1d1;p=mutt 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. --- 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,