]> granicus.if.org Git - neomutt/commitdiff
tidy logic
authorRichard Russon <rich@flatcap.org>
Tue, 4 Sep 2018 18:04:26 +0000 (19:04 +0100)
committerRichard Russon <rich@flatcap.org>
Tue, 4 Sep 2018 18:04:26 +0000 (19:04 +0100)
pattern.c

index 7a57bce8d25d4e11ff47a0636b5072662f51b629..1c52bc898184d7f53ba1f4f77e379647a46d83fb 100644 (file)
--- 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;