From 4e291427f7525d34b5f017d11afaa0991602350c Mon Sep 17 00:00:00 2001 From: fiso64 Date: Thu, 6 Jun 2024 09:19:36 +0200 Subject: [PATCH] commit --- slsk-batchdl/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slsk-batchdl/Program.cs b/slsk-batchdl/Program.cs index 9960120..580dc99 100644 --- a/slsk-batchdl/Program.cs +++ b/slsk-batchdl/Program.cs @@ -2434,7 +2434,7 @@ static class Program { int l1 = (int)sortedTracks[j].Item2.Length; int l2 = (int)sortedTracks[i].Item2.Length; - if (Math.Abs(l1 - l2) <= necessaryCond.LengthTolerance) + if (necessaryCond.LengthTolerance == -1 || Math.Abs(l1 - l2) <= necessaryCond.LengthTolerance) { subGroup.Add(sortedTracks[j]); j++;