diff options
Diffstat (limited to 'calendar/gui')
-rw-r--r-- | calendar/gui/e-week-view-layout.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/calendar/gui/e-week-view-layout.c b/calendar/gui/e-week-view-layout.c index da9e8c5721..4ab1cf1fd9 100644 --- a/calendar/gui/e-week-view-layout.c +++ b/calendar/gui/e-week-view-layout.c @@ -79,7 +79,7 @@ e_week_view_layout_events (GArray *events, /* Clear the number of rows used per day. */ num_days = multi_week_view ? weeks_shown * 7 : 7; - for (day = 0; day <= num_days; day++) { + for (day = 0; day < num_days; day++) { rows_per_day[day] = 0; } |