diff options
Diffstat (limited to 'Source/SPQueryConsoleDataSource.m')
-rw-r--r-- | Source/SPQueryConsoleDataSource.m | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/Source/SPQueryConsoleDataSource.m b/Source/SPQueryConsoleDataSource.m index 343f2dcd..eaac2151 100644 --- a/Source/SPQueryConsoleDataSource.m +++ b/Source/SPQueryConsoleDataSource.m @@ -54,8 +54,12 @@ static NSUInteger SPMessageTruncateCharacterLength = 256; { #ifndef SP_CODA NSString *returnValue = nil; + + NSString *identifier = [tableColumn identifier]; + + if (!identifier) return returnValue; - id object = [[messagesVisibleSet objectAtIndex:row] valueForKey:[tableColumn identifier]]; + id object = [[messagesVisibleSet objectAtIndex:row] valueForKey:identifier]; if ([[tableColumn identifier] isEqualToString:SPTableViewDateColumnID]) { @@ -68,7 +72,9 @@ static NSUInteger SPMessageTruncateCharacterLength = 256; returnValue = object; } - + + if (!returnValue) return returnValue; + NSMutableDictionary *stringAtributes = nil; if (consoleFont) { |