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
Simplify visible()
master
sin
10 years ago
parent
d907c3f994
commit
3fa6a6272c
1 changed files
with
1 additions
and
3 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-3
noice.c
+ 1
- 3
noice.c
View File
@@ -219,9 +219,7 @@ setfilter(regex_t *regex, char *filter)
int
visible(regex_t *regex, char *file)
{
if (regexec(regex, file, 0, NULL, 0) == 0)
return 1;
return 0;
return regexec(regex, file, 0, NULL, 0) == 0;
}
int
Write
Preview
Loading…
Cancel
Save