From: lostd Date: Tue, 27 Jan 2015 07:58:32 +0000 (+0200) Subject: Comment and cleanup X-Git-Tag: v1.0~92^2~91 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=1295b7f0e64aabbddce008adbb9fc7fb025f54a4;p=nnn.git Comment and cleanup --- diff --git a/noice.c b/noice.c index 8fe7f98d..784ccb95 100644 --- a/noice.c +++ b/noice.c @@ -666,6 +666,7 @@ nochange: tmp = readln(); if (tmp == NULL) tmp = xstrdup(ifilter); + /* Check and report regex errors */ r = setfilter(&re, tmp); if (r != 0) { free(tmp); @@ -673,7 +674,6 @@ nochange: } free(filter); filter = tmp; - filter_re = re; DPRINTF_S(filter); /* Save current */ if (n > 0)