X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=postpone.c;h=4a08b97f0c08cfd1fbbd62e95eecfc2e79d98231;hp=62939a8199b815210f5fd90decf6c9cb4776a72c;hb=dd531b757dd6a43494d5cde51b2f0f24c6606a0e;hpb=1d0ce70b85c36973b50e5783fe7b72941c81c0a9 diff --git a/postpone.c b/postpone.c index 62939a8..4a08b97 100644 --- a/postpone.c +++ b/postpone.c @@ -589,13 +589,10 @@ int mutt_prepare_template (FILE * fp, CONTEXT * ctx, HEADER * newhdr, s.flags = 0; if (b->type == TYPETEXT) { - if (!ascii_strcasecmp - ("yes", parameter_getval(b->parameter, "x-mutt-noconv"))) - b->noconv = 1; - else { + b->noconv = !ascii_strcasecmp("yes", parameter_getval(b->parameter, + "x-mutt-noconv")); + if (b->noconv) s.flags |= M_CHARCONV; - b->noconv = 0; - } parameter_delval(&b->parameter, "x-mutt-noconv"); }