Skip to content

Commit

Permalink
Merge pull request VahidN#23 from NeilWBruce/master
Browse files Browse the repository at this point in the history
Fixed incorrect variable usage
  • Loading branch information
VahidN authored Feb 2, 2018
2 parents adb2467 + 2a028bd commit b174d57
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1362,7 +1362,7 @@ internal bool RowSpanAbove(int currRow, int currCol)
{
int col = currCol - 1;
aboveCell = aboveRow.GetCells()[col];
while ((aboveCell == null) && (row > 0))
while ((aboveCell == null) && (col > 0))
aboveCell = aboveRow.GetCells()[--col];
return aboveCell != null && aboveCell.Rowspan > distance;
}
Expand Down

0 comments on commit b174d57

Please sign in to comment.