mirror of
https://github.com/SabreTools/MPF.git
synced 2026-04-05 22:01:16 +00:00
Don't remove whitespace from cuesheets
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user