From: Richard Russon Date: Mon, 23 Oct 2017 11:37:19 +0000 (+0100) Subject: move test to the right place X-Git-Tag: neomutt-20171208~59^2~9 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9300ff9bbcfe5faa78e76ea669ea191c43fc0a1b;p=neomutt move test to the right place --- diff --git a/pattern.c b/pattern.c index dbf6c028c..2a2aca567 100644 --- a/pattern.c +++ b/pattern.c @@ -1771,9 +1771,9 @@ int mutt_pattern_exec(struct Pattern *pat, enum PatternExecFlag flags, case MUTT_BROKEN: return (pat->not ^ (h->thread && h->thread->fake_thread)); #ifdef USE_NNTP + case MUTT_NEWSGROUPS: if (!h->env) return 0; - case MUTT_NEWSGROUPS: return (pat->not ^ (h->env->newsgroups && patmatch(pat, h->env->newsgroups) == 0)); #endif }