From 7154588b24ae5179f4f6cc5c2d01d223700e6441 Mon Sep 17 00:00:00 2001 From: Ludovic Marcotte Date: Wed, 19 Sep 2012 11:46:01 -0400 Subject: [PATCH] Improved previous commit. We now use the start date instead of the end date. --- UI/Scheduler/UIxCalListingActions.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UI/Scheduler/UIxCalListingActions.m b/UI/Scheduler/UIxCalListingActions.m index ee6528c2c..e3d271f95 100644 --- a/UI/Scheduler/UIxCalListingActions.m +++ b/UI/Scheduler/UIxCalListingActions.m @@ -744,7 +744,7 @@ _userStateInEvent (NSArray *event) // We add 5 mins to the end date of an event if the end date // is equal or smaller than the event's start date. if (eventEnd <= currentStart) - computedEventEnd += (5*60); + computedEventEnd = currentStart + (5*60); eventBlock = [self _eventBlockWithStart: currentStart end: computedEventEnd