only allow group dividers on 10.5 or higher

This commit is contained in:
Mitchell Livingston 2008-01-23 02:56:31 +00:00
parent 1fa3e0d869
commit 07761591c9
1 changed files with 1 additions and 1 deletions

View File

@ -1684,7 +1684,7 @@ void sleepCallBack(void * controller, io_service_t y, natural_t messageType, voi
//add group divider if necessary
int total = [fDisplayedTorrents count];
if (group && total > 0)
if (group && total > 0 && [NSApp isOnLeopardOrBetter])
{
int i, groupValue = [[fDisplayedTorrents objectAtIndex: total-1] groupValue], newGroupValue;
for (i = total-1; i >= 0; i--)