From caa5bfc58d6c0b436d3e64a4c311123b76e1d773 Mon Sep 17 00:00:00 2001 From: fiso64 Date: Mon, 7 Oct 2024 21:21:49 +0200 Subject: [PATCH] fix name skipper ws issue --- slsk-batchdl/FileSkipper.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/slsk-batchdl/FileSkipper.cs b/slsk-batchdl/FileSkipper.cs index 47c250a..f21ff42 100644 --- a/slsk-batchdl/FileSkipper.cs +++ b/slsk-batchdl/FileSkipper.cs @@ -45,7 +45,7 @@ namespace FileSkippers s = s.RemoveFt(); s = s.Replace(ignore, " "); s = s.ReplaceInvalidChars(' ', false, removeSlash); - s = s.RemoveConsecutiveWs(); + s = s.RemoveConsecutiveWs().Trim(); return s; } @@ -117,7 +117,7 @@ namespace FileSkippers s = s.RemoveFt(); s = s.Replace(ignore, " "); s = s.ReplaceInvalidChars(' ', false, removeSlash); - s = s.RemoveConsecutiveWs(); + s = s.RemoveConsecutiveWs().Trim(); return s; }