From 972cd0d4d4784a16ba6c30ed1348266ca452cbfa Mon Sep 17 00:00:00 2001 From: Wilfried Goesgens Date: Sun, 11 Oct 2015 13:50:24 +0200 Subject: [PATCH] this way around the filter logic status is more common sense. --- webcit/subst.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webcit/subst.c b/webcit/subst.c index ab4edce38..fd72242b2 100644 --- a/webcit/subst.c +++ b/webcit/subst.c @@ -2163,7 +2163,7 @@ void tmpl_iterate_subtmpl(StrBuf *Target, WCTemplputParams *TP) if ((Status.n >= StartAt) && (Status.n <= StopAt)) { if ((It->Filter != NULL) && - It->Filter(Status.Key, Status.KeyLen, vContext, Target, TP)) + !It->Filter(Status.Key, Status.KeyLen, vContext, Target, TP)) { continue; } -- 2.30.2