projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
abdc429
)
When an event has no DTEND, set the duration to zero. This prevents a recurring...
author
Art Cancro
<ajc@uncensored.citadel.org>
Tue, 20 Mar 2012 01:18:14 +0000
(21:18 -0400)
committer
Art Cancro
<ajc@uncensored.citadel.org>
Tue, 20 Mar 2012 01:18:39 +0000
(21:18 -0400)
webcit/calendar.c
patch
|
blob
|
history
diff --git
a/webcit/calendar.c
b/webcit/calendar.c
index 84493f90f8fbfc22189e1b9373e1945e6c0de1ba..c1d0ded593dcdf274d680d31701cf04b38de5a11 100644
(file)
--- a/
webcit/calendar.c
+++ b/
webcit/calendar.c
@@
-504,6
+504,9
@@
void display_individual_cal(icalcomponent *event, long msgnum, char *from, int u
if (!icaltime_is_null_time(dtend)) { /* Need duration for recurrences */
dur = icaltime_subtract(dtend, dtstart);
}
+ else {
+ dur = icaltime_subtract(dtstart, dtstart);
+ }
/*
* Just let libical iterate the recurrence, and keep looping back to the top of this function,