mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Make SortedKeys an array for both
This commit is contained in:
@@ -109,8 +109,7 @@ namespace SabreTools.DatTools
|
||||
datFile.BucketBy(ItemKey.SHA1, DedupeType.None);
|
||||
|
||||
// Then we want to loop through each of the hashes and see if we can rebuild
|
||||
List<string> keys = [.. datFile.Items.SortedKeys];
|
||||
foreach (string hash in keys)
|
||||
foreach (string hash in datFile.Items.SortedKeys)
|
||||
{
|
||||
// Pre-empt any issues that could arise from string length
|
||||
if (hash.Length != Constants.SHA1Length)
|
||||
|
||||
Reference in New Issue
Block a user