aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs/cancel-comp.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/dialogs/cancel-comp.c')
-rw-r--r--calendar/gui/dialogs/cancel-comp.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/calendar/gui/dialogs/cancel-comp.c b/calendar/gui/dialogs/cancel-comp.c
index fe85119dae..4482d4d7ab 100644
--- a/calendar/gui/dialogs/cancel-comp.c
+++ b/calendar/gui/dialogs/cancel-comp.c
@@ -47,9 +47,10 @@ is_past_event (ECalComponent *comp)
if (!comp) return TRUE;
e_cal_component_get_dtend (comp, &end_date);
- res = icaltime_compare_date_only (*end_date.value,
- icaltime_current_time_with_zone (icaltime_get_timezone (*end_date.value))
- ) == -1;
+ res = icaltime_compare_date_only (
+ *end_date.value,
+ icaltime_current_time_with_zone (
+ icaltime_get_timezone (*end_date.value))) == -1;
e_cal_component_free_datetime (&end_date);
return res;