aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPDataStorage.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPDataStorage.m')
-rw-r--r--Source/SPDataStorage.m2
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);
}