X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=hdrline.c;h=3e6e999e1a2aab84d21ed2782ea34eed399a0aca;hp=93f3bc7cbde723da2e4155c8204401fce6ae15af;hb=3d937534e7b1ee723f86594b5e4c64c95158a933;hpb=6833ce8bdca2d64e14485118f2a4417b7e1cb1b1 diff --git a/hdrline.c b/hdrline.c index 93f3bc7..3e6e999 100644 --- a/hdrline.c +++ b/hdrline.c @@ -442,6 +442,18 @@ hdr_format_str (char *dest, break; #endif + case 'H': + /* (Hormel) spam score */ + if (optional) + optional = hdr->env->spam ? 1 : 0; + + if (hdr->env->spam) + mutt_format_s (dest, destlen, prefix, NONULL (hdr->env->spam->data)); + else + mutt_format_s (dest, destlen, prefix, ""); + + break; + case 'i': mutt_format_s (dest, destlen, prefix, hdr->env->message_id ? hdr->env->message_id : ""); break;