Skip to content

Commit d7c8e8f

Browse files
committed
Fixed Show Duplicate would not show duplicates base on anything other than filepath.
1 parent 9108b13 commit d7c8e8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ComicRack.Engine/Metadata/ComicBook/Comparer/ComicBookDublicateComparer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ public class ComicBookDublicateComparer : Comparer<ComicBook>
88
public override int Compare(ComicBook x, ComicBook y)
99
{
1010
int num = string.Compare(x.FilePath, y.FilePath, ignoreCase: true);
11-
if (num != 0)
11+
if (num == 0) // If Filepaths are the same, stop here, else continue comparing
1212
{
1313
return num;
1414
}

0 commit comments

Comments
 (0)