X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=thread.c;h=675f0119fa4dd606213376f3ecc89556f8d0f6da;hp=d3c33c70476d13dffd3a0e90eac27d2708adfb89;hb=58fbf95737a7601f6e139e39b9f69d102c7e858d;hpb=420f3633557ed75a0de989eb065af6e09eed29ba diff --git a/thread.c b/thread.c index d3c33c7..675f011 100644 --- a/thread.c +++ b/thread.c @@ -16,6 +16,10 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. */ +#if HAVE_CONFIG_H +# include "config.h" +#endif + #include "mutt.h" #include "sort.h" @@ -41,6 +45,10 @@ static int need_display_subject (CONTEXT *ctx, HEADER *hdr) { THREAD *tmp, *tree = hdr->thread; + /* if the user disabled subject hiding, display it */ + if (!option (OPTHIDETHREADSUBJECT)) + return (1); + /* if our subject is different from our parent's, display it */ if (hdr->subject_changed) return (1);