Code cleanup.

This commit is contained in:
2018-06-22 08:08:38 +01:00
parent d2850929d6
commit 4c15d8c8cb
16 changed files with 75 additions and 67 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;
}