From: Richard Russon Date: Tue, 4 Sep 2018 18:04:26 +0000 (+0100) Subject: tidy logic X-Git-Tag: 2019-10-25~661^2~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7877b327070ef8e35fea5ec2ec9e2c49561fd094;p=neomutt tidy logic --- diff --git a/pattern.c b/pattern.c index 7a57bce8d..1c52bc898 100644 --- a/pattern.c +++ b/pattern.c @@ -1394,8 +1394,8 @@ struct Pattern *mutt_pattern_comp(/* const */ char *s, int flags, struct Buffer tmp->not = not; tmp->alladdr = alladdr; tmp->isalias = isalias; - tmp->stringmatch = (*ps.dptr == '=') ? true : false; - tmp->groupmatch = (*ps.dptr == '%') ? true : false; + tmp->stringmatch = (*ps.dptr == '='); + tmp->groupmatch = (*ps.dptr == '%'); not = false; alladdr = false; isalias = false;