[evolution-data-server/gnome-2-32] Bug 632771 - Recurring calendar	events set to recur forever do not display past first week
- From: Milan Crha <mcrha src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [evolution-data-server/gnome-2-32] Bug 632771 - Recurring calendar	events set to recur forever do not display past first week
 
- Date: Fri, 22 Oct 2010 08:20:34 +0000 (UTC)
 
commit f555497c88476812d610c1fbb08f68bf0c9bd5d5
Author: Chenthill Palanisamy <pchenthill novell com>
Date:   Fri Oct 22 10:19:58 2010 +0200
    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 0e96504..6ba8f8b 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]