diff options
Diffstat (limited to 'calendar/gui/e-week-view-layout.c')
-rw-r--r-- | calendar/gui/e-week-view-layout.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/calendar/gui/e-week-view-layout.c b/calendar/gui/e-week-view-layout.c index b4b8aaa1b2..c381ea3b8d 100644 --- a/calendar/gui/e-week-view-layout.c +++ b/calendar/gui/e-week-view-layout.c @@ -328,7 +328,9 @@ e_week_view_layout_get_day_position (gint day, *day_x = col; } } else { - #define wk(x) ( ( working_days & (days [ ((x) + display_start_day) % 7 ]) ) ? 1 : 0) + #define wk(x) \ + ((working_days & \ + (days[((x) + display_start_day) % 7])) ? 1 : 0) CalWeekdays days[] = { CAL_MONDAY, CAL_TUESDAY, |