summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>1999-02-02 21:57:11 +0000
committerThomas Roessler <roessler@does-not-exist.org>1999-02-02 21:57:11 +0000
commit064b82f17c3c30ff3e9d8e8cda18da81b06766fa (patch)
tree4ec4b1f24c6cdac416914e5b41c29008c2617a96
parentd608530dc9d78cb9825ebba1ceba0f4ffe0bdeba (diff)
small nit-fix from vikas to the ~v pattern.
-rw-r--r--pattern.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pattern.c b/pattern.c
index fecb6066..99bc45e3 100644
--- a/pattern.c
+++ b/pattern.c
@@ -865,7 +865,7 @@ mutt_pattern_exec (struct pattern_t *pat, pattern_exec_flag flags, CONTEXT *ctx,
case M_PERSONAL_FROM:
return (pat->not ^ match_user (pat->alladdr, h->env->from, NULL));
case M_COLLAPSED:
- return (pat->not ^ h->collapsed);
+ return (pat->not ^ (h->collapsed && h->num_hidden > 1));
#ifdef _PGPPATH
case M_PGP_SIGN:
return (pat->not ^ (h->pgp & PGPSIGN));