mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 11:51:27 +00:00
Comment and cleanup
This commit is contained in:
parent
48e3305be8
commit
1295b7f0e6
2
noice.c
2
noice.c
|
@ -666,6 +666,7 @@ nochange:
|
||||||
tmp = readln();
|
tmp = readln();
|
||||||
if (tmp == NULL)
|
if (tmp == NULL)
|
||||||
tmp = xstrdup(ifilter);
|
tmp = xstrdup(ifilter);
|
||||||
|
/* Check and report regex errors */
|
||||||
r = setfilter(&re, tmp);
|
r = setfilter(&re, tmp);
|
||||||
if (r != 0) {
|
if (r != 0) {
|
||||||
free(tmp);
|
free(tmp);
|
||||||
|
@ -673,7 +674,6 @@ nochange:
|
||||||
}
|
}
|
||||||
free(filter);
|
free(filter);
|
||||||
filter = tmp;
|
filter = tmp;
|
||||||
filter_re = re;
|
|
||||||
DPRINTF_S(filter);
|
DPRINTF_S(filter);
|
||||||
/* Save current */
|
/* Save current */
|
||||||
if (n > 0)
|
if (n > 0)
|
||||||
|
|
Loading…
Reference in a new issue