summaryrefslogtreecommitdiff
path: root/implicit.c
diff options
context:
space:
mode:
Diffstat (limited to 'implicit.c')
-rw-r--r--implicit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/implicit.c b/implicit.c
index b8f1054..8085ea1 100644
--- a/implicit.c
+++ b/implicit.c
@@ -354,7 +354,7 @@ pattern_search (struct file *file, int archive,
check_lastslash = strchr (target, '/') == 0;
#ifdef HAVE_DOS_PATHS
/* Didn't find it yet: check for DOS-type directories. */
- if (!check_lastslash)
+ if (check_lastslash)
{
char *b = strrchr (target, '\\');
check_lastslash = !(b ? b > lastslash