aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--calendar/gui/e-day-view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/calendar/gui/e-day-view.c b/calendar/gui/e-day-view.c
index 3d5969a092..95bd14b74a 100644
--- a/calendar/gui/e-day-view.c
+++ b/calendar/gui/e-day-view.c
@@ -4383,7 +4383,7 @@ e_day_view_finish_long_event_resize (EDayView *day_view)
} else {
ECalComponentDateTime ecdt;
- e_cal_component_get_dtend (comp, &date);
+ e_cal_component_get_dtend (comp, &ecdt);
is_date = ecdt.value && ecdt.value->is_date;
if (!is_date)
date.tzid = icaltimezone_get_tzid (e_calendar_view_get_timezone (E_CALENDAR_VIEW (day_view)));