X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=lib-ui%2Fhdrline.c;h=5bbff4a2dcbe7c82e76df5600fa1cec64ee9112d;hp=4f5e5e41b6b76f3d8d98782c95c2723d572642e6;hb=4cc921f9a484858a05dbfe904f7cb4472e2881d9;hpb=f435868132e200bfa71ac155f037cf64bf5414ba diff --git a/lib-ui/hdrline.c b/lib-ui/hdrline.c index 4f5e5e4..5bbff4a 100644 --- a/lib-ui/hdrline.c +++ b/lib-ui/hdrline.c @@ -404,13 +404,6 @@ hdr_format_str(char *dest, ssize_t destlen, optional = 0; break; -#ifdef USE_NNTP - case 'g': - mutt_format_s (dest, destlen, prefix, - hdr->env->newsgroups ? hdr->env->newsgroups : ""); - break; -#endif - case 'H': /* (Hormel) spam score */ if (optional) @@ -755,5 +748,5 @@ _mutt_make_string (char *dest, ssize_t destlen, const char *s, CONTEXT * ctx, hfi.hdr = hdr; hfi.ctx = ctx; - m_strformat(dest, destlen, COLS - SW, s, hdr_format_str, &hfi, flags); + m_strformat(dest, destlen, getmaxx(main_w), s, hdr_format_str, &hfi, flags); }