Let filter errors show up in status line

This commit is contained in:
lostd 2014-10-10 15:13:13 +03:00
parent f30e02239e
commit de7072bdd5

View file

@ -530,6 +530,7 @@ nochange:
goto nochange;
case SEL_FLTR:
/* Read filter */
printmsg("");
move(LINES - 1, 0);
printw("filter: ");
tmp = readln();
@ -540,7 +541,6 @@ nochange:
r = setfilter(&re, tmp);
if (r != 0) {
free(tmp);
printmsg("");
goto nochange;
}
free(filter);