This commit is contained in:
Mitchell Livingston 2007-08-04 01:14:26 +00:00
parent 68d355b497
commit 1b0b2222c6
1 changed files with 1 additions and 1 deletions

View File

@ -1405,7 +1405,7 @@ static uint32_t kRed = BE(0xFF6450FF), //255, 100, 80
NSDate * started = [NSDate dateWithTimeIntervalSince1970: start / 1000],
* activity = [self dateActivity];
NSDate * laterDate = !activity || [started compare: activity] == NSOrderedDescending ? started : activity;
NSDate * laterDate = (!activity || [started compare: activity] == NSOrderedDescending) ? started : activity;
return -1 * [laterDate timeIntervalSinceNow] / 60;
}