aboutsummaryrefslogtreecommitdiffstats
path: root/noice.c
diff options
context:
space:
mode:
authorlostd <lostd@2f30.org>2015-01-27 09:58:32 +0200
committerlostd <lostd@2f30.org>2015-01-27 09:58:32 +0200
commit1295b7f0e64aabbddce008adbb9fc7fb025f54a4 (patch)
treea1ce293fa7268899cb5fb65eca7894dec34b3b46 /noice.c
parent48e3305be834bf0877a16ec5e855e66fb1787bd7 (diff)
downloadnoice-1295b7f0e64aabbddce008adbb9fc7fb025f54a4.tar.gz
Comment and cleanup
Diffstat (limited to 'noice.c')
-rw-r--r--noice.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/noice.c b/noice.c
index 8fe7f98..784ccb9 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)
Un proyecto texto-plano.xyz