summaryrefslogtreecommitdiff
path: root/implicit.c
diff options
context:
space:
mode:
Diffstat (limited to 'implicit.c')
-rw-r--r--implicit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/implicit.c b/implicit.c
index 0ce7a49..857895d 100644
--- a/implicit.c
+++ b/implicit.c
@@ -399,8 +399,8 @@ pattern_search (file, archive, depth, recursions)
directory (the one gotten by prepending FILENAME's directory),
so it might actually exist. */
- if ((!dep->changed || check_lastslash)
- && (lookup_file (p) != 0 || file_exists_p (p)))
+ if (lookup_file (p) != 0
+ || ((!dep->changed || check_lastslash) && file_exists_p (p)))
{
found_files[deps_found++] = xstrdup (p);
continue;