From: Thomas Roessler Date: Sun, 9 Apr 2000 12:27:37 +0000 (+0000) Subject: Fix ^ and ! pattern modifiers. X-Git-Tag: mutt-1-1-12-rel~20 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=39bae36ff0c89a2caa3c712286c207d35879f3a3;p=mutt Fix ^ and ! pattern modifiers. --- diff --git a/pattern.c b/pattern.c index e84764de..643bcc4d 100644 --- a/pattern.c +++ b/pattern.c @@ -687,8 +687,8 @@ pattern_t *mutt_pattern_comp (/* const */ char *s, int flags, BUFFER *err) else curlist = tmp; last = tmp; - tmp->not = not; - tmp->alladdr = alladdr; + tmp->not ^= not; + tmp->alladdr |= alladdr; not = 0; alladdr = 0; ps.dptr = p + 1; /* restore location */