projects
/
geeqie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce2d11c
)
Ignore duplicates with same path
author
cybjit
<cybjit@gmail.com>
Mon, 25 Apr 2011 10:53:35 +0000
(12:53 +0200)
committer
cybjit
<cybjit@gmail.com>
Mon, 26 Dec 2011 22:55:07 +0000
(23:55 +0100)
src/dupe.c
patch
|
blob
|
history
diff --git
a/src/dupe.c
b/src/dupe.c
index
e50b8df
..
0f65e34
100644
(file)
--- a/
src/dupe.c
+++ b/
src/dupe.c
@@
-1116,7
+1116,7
@@
static gboolean dupe_match(DupeItem *a, DupeItem *b, DupeMatchType mask, gdouble
{
*rank = 0.0;
- if (a
== b
) return FALSE;
+ if (a
->fd->path == b->fd->path
) return FALSE;
if (mask & DUPE_MATCH_PATH)
{