Update DiskFragmenter.cs

This commit is contained in:
2024-12-17 09:40:42 -05:00
parent a4cb169566
commit ba7e6d4be0

View File

@@ -191,7 +191,7 @@ internal class DiskFragmenter : Problem<long, long>
else if (idx - 1 > 0 && blocks[idx - 1].isEmpty) else if (idx - 1 > 0 && blocks[idx - 1].isEmpty)
{ {
blocks[idx - 1].length += block.length; blocks[idx - 1].length += block.length;
blocks.RemoveAt(idx);
} }
//Insert new Empty Block //Insert new Empty Block
else else