Code cleanup.

This commit is contained in:
2018-06-22 08:08:38 +01:00
parent 82f474c7e3
commit 88da8fc019
581 changed files with 22423 additions and 20839 deletions

View File

@@ -135,7 +135,7 @@ namespace Extents
{
int realEnd;
if(run) realEnd = start + end - 1;
else realEnd = end;
else realEnd = end;
// TODO: Optimize this
for(int t = start; t <= realEnd; t++) Add(t);
@@ -177,7 +177,7 @@ namespace Extents
{
toRemove = extent;
toAddOne = new Tuple<int, int>(extent.Item1, item - 1);
toAddTwo = new Tuple<int, int>(item + 1, extent.Item2);
toAddTwo = new Tuple<int, int>(item + 1, extent.Item2);
break;
}