diff options
Diffstat (limited to 'Source/SPDataStorage.m')
-rw-r--r-- | Source/SPDataStorage.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPDataStorage.m b/Source/SPDataStorage.m index 698a6d59..8897b795 100644 --- a/Source/SPDataStorage.m +++ b/Source/SPDataStorage.m @@ -121,9 +121,9 @@ static inline NSMutableArray* SPDataStorageGetEditedRow(NSPointerArray* rowStore */ - (id) cellDataAtRow:(NSUInteger)rowIndex column:(NSUInteger)columnIndex { - // If an edited row exists at the supplied index, return it NSMutableArray *editedRow = SPDataStorageGetEditedRow(editedRows, rowIndex); + if (editedRow != NULL) { return CFArrayGetValueAtIndex((CFArrayRef)editedRow, columnIndex); } |