diff options
Diffstat (limited to 'calendar/cal-util/calobj.c')
-rw-r--r-- | calendar/cal-util/calobj.c | 3 |
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); |