spelling: source

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
This commit is contained in:
Josh Soref
2020-10-30 14:42:20 -04:00
parent d116298d2f
commit 8720a0dcdf

View File

@@ -370,24 +370,24 @@ namespace FancyZonesEditor
if (delta > 0) if (delta > 0)
{ {
int sourcRow = 0; int sourceRow = 0;
for (int row = 0; row < rows; row++) for (int row = 0; row < rows; row++)
{ {
for (int col = 0; col < cols; col++) for (int col = 0; col < cols; col++)
{ {
if (row == draggedResizerStartRow + 1 && (col < resizer.StartCol || col >= resizer.EndCol)) if (row == draggedResizerStartRow + 1 && (col < resizer.StartCol || col >= resizer.EndCol))
{ {
newCellChildMap[row, col] = cellChildMap[sourcRow + 1, col]; newCellChildMap[row, col] = cellChildMap[sourceRow + 1, col];
} }
else else
{ {
newCellChildMap[row, col] = cellChildMap[sourcRow, col]; newCellChildMap[row, col] = cellChildMap[sourceRow, col];
} }
} }
if (row != draggedResizerStartRow) if (row != draggedResizerStartRow)
{ {
sourcRow++; sourceRow++;
} }
} }