X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=lib-ui%2Fhdrline.c;h=30b43df498cb6ba4d5a0b96dd913bfd067264e5e;hp=50049ef39315b71ded549db98812313cd8ffea6f;hb=c9b049f668148dab6ae90f32de6a4981f673bfa1;hpb=576172ff50f9dd94dd2f5cc91d247c1e50dbe7fc diff --git a/lib-ui/hdrline.c b/lib-ui/hdrline.c index 50049ef..30b43df 100644 --- a/lib-ui/hdrline.c +++ b/lib-ui/hdrline.c @@ -498,7 +498,7 @@ hdr_format_str(char *dest, ssize_t destlen, case 'O': if (!optional) { make_from_addr (hdr->env, buf2, sizeof (buf2), 1); - if (!option (OPTSAVEADDRESS) && (p = strpbrk (buf2, "%@"))) + if ((p = strpbrk (buf2, "%@"))) *p = 0; mutt_format_s (dest, destlen, prefix, buf2); }