make group sorting on Tiger consistent with Leopard's

This commit is contained in:
Mitchell Livingston 2008-01-23 20:57:07 +00:00
parent b44c0b059c
commit 7dc223d488
1 changed files with 1 additions and 1 deletions

View File

@ -1724,7 +1724,7 @@ void sleepCallBack(void * controller, io_service_t y, natural_t messageType, voi
if (![NSApp isOnLeopardOrBetter] && [fDefaults boolForKey: @"SortByGroup"])
{
NSSortDescriptor * groupDescriptor = [[[NSSortDescriptor alloc] initWithKey: @"groupOrderValue"
ascending: asc] autorelease];
ascending: YES] autorelease];
NSMutableArray * temp = [[NSMutableArray alloc] initWithCapacity: [descriptors count]+1];
[temp addObject: groupDescriptor];