changeset 2011:8d6f372a067b

Ignore duplicates with same path
author cybjit <cybjit@gmail.com>
date Mon, 25 Apr 2011 12:53:35 +0200
parents debb46578e7b
children 0dfa3505f781
files src/dupe.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/dupe.c	Sat Dec 03 15:46:20 2011 +0100
+++ b/src/dupe.c	Mon Apr 25 12:53:35 2011 +0200
@@ -1116,7 +1116,7 @@
 {
 	*rank = 0.0;
 
-	if (a == b) return FALSE;
+	if (a->fd->path == b->fd->path) return FALSE;
 
 	if (mask & DUPE_MATCH_PATH)
 		{