[evolution-data-server] Bug 632771 - Recurring calendar events set to recur forever do not display past first week



commit cf6fdcc2585dd853ef67b692c913f3409cd4a3fa
Author: Chenthill Palanisamy <pchenthill novell com>
Date:   Thu Oct 21 17:16:16 2010 +0530

    Bug 632771 - Recurring calendar events set to recur forever do not display past first week

 calendar/libecal/e-cal-util.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/calendar/libecal/e-cal-util.c b/calendar/libecal/e-cal-util.c
index 4a61fcc..b9fc1ca 100644
--- a/calendar/libecal/e-cal-util.c
+++ b/calendar/libecal/e-cal-util.c
@@ -1273,7 +1273,7 @@ e_cal_util_get_component_occur_times (ECalComponent *comp,
 				rule_end = e_cal_recur_obtain_enddate (&ir, prop, utc_zone, TRUE);
 
 				if (rule_end == -1) /* repeats forever */
-					*end = -1;
+					*end = _TIME_MAX;
 				else if (rule_end > *end) /* new maximum */
 					*end = rule_end;
 			}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]