diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-05-08 00:22:36 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2011-06-30 00:42:10 +0800 |
commit | 578214584caa7805edca09b27e2306dc31d80fb6 (patch) | |
tree | dfa18882e01b362a721fd47bd901538bc5e3a9c4 /calendar/gui/e-week-view-layout.c | |
parent | 30fe010cffa6f290170147ea9a8b617d04fab39d (diff) | |
download | gsoc2013-evolution-578214584caa7805edca09b27e2306dc31d80fb6.tar gsoc2013-evolution-578214584caa7805edca09b27e2306dc31d80fb6.tar.gz gsoc2013-evolution-578214584caa7805edca09b27e2306dc31d80fb6.tar.bz2 gsoc2013-evolution-578214584caa7805edca09b27e2306dc31d80fb6.tar.lz gsoc2013-evolution-578214584caa7805edca09b27e2306dc31d80fb6.tar.xz gsoc2013-evolution-578214584caa7805edca09b27e2306dc31d80fb6.tar.zst gsoc2013-evolution-578214584caa7805edca09b27e2306dc31d80fb6.zip |
Whitespace and coding style cleanups.
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, |