aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/cal-util/calobj.c
diff options
context:
space:
mode:
authorArturo Espinosa <unammx@src.gnome.org>1998-04-21 03:53:21 +0800
committerArturo Espinosa <unammx@src.gnome.org>1998-04-21 03:53:21 +0800
commit3acbe7a46f8c3af807ed56b997e2995e45a2fafe (patch)
tree0e65ffe30cbe1cbe59fd3032fa49cfe428b1a016 /calendar/cal-util/calobj.c
parent26e5915000652f4807e337a2b370ce0051972f04 (diff)
downloadgsoc2013-evolution-3acbe7a46f8c3af807ed56b997e2995e45a2fafe.tar
gsoc2013-evolution-3acbe7a46f8c3af807ed56b997e2995e45a2fafe.tar.gz
gsoc2013-evolution-3acbe7a46f8c3af807ed56b997e2995e45a2fafe.tar.bz2
gsoc2013-evolution-3acbe7a46f8c3af807ed56b997e2995e45a2fafe.tar.lz
gsoc2013-evolution-3acbe7a46f8c3af807ed56b997e2995e45a2fafe.tar.xz
gsoc2013-evolution-3acbe7a46f8c3af807ed56b997e2995e45a2fafe.tar.zst
gsoc2013-evolution-3acbe7a46f8c3af807ed56b997e2995e45a2fafe.zip
more fixes -mig
svn path=/trunk/; revision=169
Diffstat (limited to 'calendar/cal-util/calobj.c')
-rw-r--r--calendar/cal-util/calobj.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/calendar/cal-util/calobj.c b/calendar/cal-util/calobj.c
index f298c2caf3..b57f660a7b 100644
--- a/calendar/cal-util/calobj.c
+++ b/calendar/cal-util/calobj.c
@@ -1112,6 +1112,9 @@ duration_callback (iCalObject *ico, time_t start, time_t end, void *closure)
{
int *count = closure;
+ if (ico->exdate && is_date_in_list (ico->exdate, &start))
+ return;
+
(*count)++;
if (ico->recur->duration == *count) {
ico->recur->enddate = time_end_of_day (end);