diff --git a/CHANGELIST.md b/CHANGELIST.md index d1f3bc9a..5d11f4c3 100644 --- a/CHANGELIST.md +++ b/CHANGELIST.md @@ -1,3 +1,7 @@ +### WIP (xxxx-xx-xx) + +- Don't remove whitespace from cuesheets + ### 3.7.1 (2026-03-30) - Display the path being processed in Check since multiple are allowed diff --git a/MPF.Processors/Redumper.cs b/MPF.Processors/Redumper.cs index 035cc08f..d2d148f3 100644 --- a/MPF.Processors/Redumper.cs +++ b/MPF.Processors/Redumper.cs @@ -1042,12 +1042,12 @@ namespace MPF.Processors // Now that we're at the relevant entries, read each line in and concatenate var sb = new StringBuilder(); - string? line = sr.ReadLine()?.Trim(); - while (!string.IsNullOrEmpty(line)) + string? line = sr.ReadLine(); + while (!string.IsNullOrEmpty(line?.Trim())) { // TODO: Figure out how to use NormalizeShiftJIS here sb.AppendLine(line); - line = sr.ReadLine()?.Trim(); + line = sr.ReadLine(); } return sb.ToString().TrimEnd('\n');