Permalink
Browse files

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

…using issue #4.
  • Loading branch information...
apike authored and th-in-gs committed Aug 30, 2011
1 parent 6fea514 commit 4af2969567c23491ba5f80f249fadd37c8753c18
Showing with 1 addition and 1 deletion.
  1. +1 −1 DTGridView.m
View
@@ -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];

0 comments on commit 4af2969

Please sign in to comment.