Update DiskFragmenter.cs
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user