This website works better with JavaScript.
Home
Explore
Help
Sign In
Immanuel
/
nnn
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Empty filter resets filter to the default
master
lostd
10 years ago
parent
9679e132d4
commit
48e3305be8
1 changed files
with
2 additions
and
4 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-4
noice.c
+ 2
- 4
noice.c
View File
@@ -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);
Write
Preview
Loading…
Cancel
Save