gcal-day-view: fixed :draw_event check

This commit is contained in:
Erick Pérez Castellanos
2014-12-04 17:10:26 -05:00
parent 912a5d46e9
commit 6238b77590
+1 -1
View File
@@ -408,7 +408,7 @@ gcal_day_view_draw_event (GcalView *view,
/* XXX: Check for date_only comparison since might drop timezone info */
left_boundary = icaltime_compare_date_only (*end_date, *first_day);
right_boundary = icaltime_compare_date_only (*last_day, *end_date);
right_boundary = icaltime_compare_date_only (*last_day, *start_date);
if (left_boundary == -1 || right_boundary == -1)
return FALSE;