diff options
Diffstat (limited to 'Source')
-rw-r--r-- | Source/SPProcessListController.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/SPProcessListController.m b/Source/SPProcessListController.m index 06cd9881..131b78d3 100644 --- a/Source/SPProcessListController.m +++ b/Source/SPProcessListController.m @@ -407,8 +407,8 @@ */ - (id)tableView:(NSTableView *)tableView objectValueForTableColumn:(NSTableColumn *)tableColumn row:(NSInteger)row { - id object = [[processesFiltered objectAtIndex:row] valueForKey:[tableColumn identifier]]; - + id object = (row < [processesFiltered count]) ? [[processesFiltered objectAtIndex:row] valueForKey:[tableColumn identifier]] : @""; + return (![object isNSNull]) ? object : [prefs stringForKey:SPNullValue]; } |