diff --git a/BinaryObjectScanner.Printing/AACSMediaKeyBlock.cs b/BinaryObjectScanner.Printing/AACSMediaKeyBlock.cs index 93b07cbf..46723456 100644 --- a/BinaryObjectScanner.Printing/AACSMediaKeyBlock.cs +++ b/BinaryObjectScanner.Printing/AACSMediaKeyBlock.cs @@ -26,14 +26,14 @@ namespace BinaryObjectScanner.Printing if (records == null || records.Length == 0) { builder.AppendLine(" No records"); + builder.AppendLine(); + return; } - else + + for (int i = 0; i < records.Length; i++) { - for (int i = 0; i < records.Length; i++) - { - var record = records[i]; - Print(builder, record, i); - } + var record = records[i]; + Print(builder, record, i); } builder.AppendLine(); } diff --git a/BinaryObjectScanner.Printing/BFPK.cs b/BinaryObjectScanner.Printing/BFPK.cs index 0251c3a4..0499b800 100644 --- a/BinaryObjectScanner.Printing/BFPK.cs +++ b/BinaryObjectScanner.Printing/BFPK.cs @@ -26,6 +26,7 @@ namespace BinaryObjectScanner.Printing if (header == null) { builder.AppendLine(" No header"); + builder.AppendLine(); return; }