aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/cal-util
diff options
context:
space:
mode:
authorJP Rosevear <jpr@helixcode.com>2000-09-01 23:24:30 +0800
committerJP Rosevear <jpr@src.gnome.org>2000-09-01 23:24:30 +0800
commitba9c7d021709966f75200f778b1ba5dc3ff7ab04 (patch)
tree34388164bb5f9ccbd8d46345e3e4ba7cf6dbfe91 /calendar/cal-util
parent943c181c658d64e2e89026db65613c905ffe9f25 (diff)
downloadgsoc2013-evolution-ba9c7d021709966f75200f778b1ba5dc3ff7ab04.tar
gsoc2013-evolution-ba9c7d021709966f75200f778b1ba5dc3ff7ab04.tar.gz
gsoc2013-evolution-ba9c7d021709966f75200f778b1ba5dc3ff7ab04.tar.bz2
gsoc2013-evolution-ba9c7d021709966f75200f778b1ba5dc3ff7ab04.tar.lz
gsoc2013-evolution-ba9c7d021709966f75200f778b1ba5dc3ff7ab04.tar.xz
gsoc2013-evolution-ba9c7d021709966f75200f778b1ba5dc3ff7ab04.tar.zst
gsoc2013-evolution-ba9c7d021709966f75200f778b1ba5dc3ff7ab04.zip
We don't need AC_PROG_RANLIB and AM_PROG_LIBTOOL
2000-09-01 JP Rosevear <jpr@helixcode.com> * configure.in: We don't need AC_PROG_RANLIB and AM_PROG_LIBTOOL * src/libical/icalyacc.y (clear_recur): Explicitly set the week_start to the Monday default in case the recurrence rule does not. 2000-09-01 JP Rosevear <jpr@helixcode.com> * gui/event-editor.c: Make toolbar save and close button. We should put a similar menu option in sometime. 2000-08-31 JP Rosevear <jpr@helixcode.com> * cal-util/cal-recur.c (array_to_list): Use ICAL_RECURRENCE_ARRAY_MAX instead of MAX_SHORT svn path=/trunk/; revision=5164
Diffstat (limited to 'calendar/cal-util')
-rw-r--r--calendar/cal-util/cal-recur.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/calendar/cal-util/cal-recur.c b/calendar/cal-util/cal-recur.c
index 2fad53ca63..9c35e26b92 100644
--- a/calendar/cal-util/cal-recur.c
+++ b/calendar/cal-util/cal-recur.c
@@ -575,9 +575,8 @@ array_to_list (short *array, int max_elements)
l = NULL;
- for (i = 0; i < max_elements && array[i] != SHRT_MAX; i++)
+ for (i = 0; i < max_elements && array[i] != ICAL_RECURRENCE_ARRAY_MAX; i++)
l = g_list_prepend (l, GINT_TO_POINTER ((int) (array[i])));
-
return g_list_reverse (l);
}