summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main.c b/src/main.c
index 20168bb4..6c4fcd6c 100644
--- a/src/main.c
+++ b/src/main.c
@@ -2172,11 +2172,11 @@ There is NO WARRANTY, to the extent permitted by law.\n"),
if ((included_patterns || excluded_patterns)
&& !isdir (file))
{
- if (included_patterns &&
- ! excluded_file_name (included_patterns, file))
+ if (included_patterns
+ && excluded_file_name (included_patterns, file))
continue;
- if (excluded_patterns &&
- excluded_file_name (excluded_patterns, file))
+ if (excluded_patterns
+ && excluded_file_name (excluded_patterns, file))
continue;
}
status &= grepfile (STREQ (file, "-") ? (char *) NULL : file,