diff options
Diffstat (limited to 'Source/SPProcessListController.m')
-rw-r--r-- | Source/SPProcessListController.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPProcessListController.m b/Source/SPProcessListController.m index 06cd9881..0d4c653d 100644 --- a/Source/SPProcessListController.m +++ b/Source/SPProcessListController.m @@ -407,7 +407,7 @@ */ - (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]; } |