Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed off by one error that causes crash when you remove a column, ca…

…using issue #4.
  • Loading branch information...
commit 4af2969567c23491ba5f80f249fadd37c8753c18 1 parent 6fea514
@apike apike authored committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  DTGridView.m
View
2  DTGridView.m
@@ -243,7 +243,7 @@ - (void)removeCellWithInfo:(DTGridViewCellInfo *)info {
NSMutableArray *row = [gridCells objectAtIndex:info.yPosition];
- if (info.xPosition > [row count]) return;
+ if (info.xPosition >= [row count]) return;
DTGridViewCell *cell = [row objectAtIndex:info.xPosition];
Please sign in to comment.
Something went wrong with that request. Please try again.