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();
|
||||
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)
|
||||
|
|
Loading…
Reference in a new issue