diff options
Diffstat (limited to 'noice.c')
-rw-r--r-- | noice.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -664,10 +664,8 @@ nochange: /* Read filter */ printprompt("filter: "); tmp = readln(); - if (tmp == NULL) { - clearprompt(); - goto nochange; - } + if (tmp == NULL) + tmp = xstrdup(ifilter); r = setfilter(&re, tmp); if (r != 0) { free(tmp); |