diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-09-11 23:50:51 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-09-12 02:14:04 +0800 |
commit | ebcce86769d174cce6e881740c5e9bcedce28e06 (patch) | |
tree | b2cc2d18ceb0c3bd3e78f5b768c1b6926b69bb4a /calendar/gui/e-week-view-layout.c | |
parent | 1e3deb31476cf0026011876327be83e9a47847ee (diff) | |
download | gsoc2013-evolution-ebcce86769d174cce6e881740c5e9bcedce28e06.tar.gz gsoc2013-evolution-ebcce86769d174cce6e881740c5e9bcedce28e06.tar.zst gsoc2013-evolution-ebcce86769d174cce6e881740c5e9bcedce28e06.zip |
Coding style and whitespace cleanups.
Diffstat (limited to 'calendar/gui/e-week-view-layout.c')
-rw-r--r-- | calendar/gui/e-week-view-layout.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/calendar/gui/e-week-view-layout.c b/calendar/gui/e-week-view-layout.c index 7863791e25..743f890485 100644 --- a/calendar/gui/e-week-view-layout.c +++ b/calendar/gui/e-week-view-layout.c @@ -362,22 +362,22 @@ e_week_view_layout_get_day_position (gint day, wd = 0; /* number of used rows in column */ for (i = m; i < M; i++) { - arr [i - m] += wk (i); - wd += arr [i - m]; + arr[i - m] += wk (i); + wd += arr[i - m]; } while (wd != 6 && any) { any = FALSE; for (i = M - 1; i >= m; i--) { - if (arr [i - m] > 1) { + if (arr[i - m] > 1) { any = TRUE; if (wd > 6) { /* too many rows, make last shorter */ - arr [i - m] --; + arr[i - m] --; wd--; } else if (wd < 6) { /* free rows left, enlarge those bigger */ - arr [i - m] ++; + arr[i - m] ++; wd++; } @@ -390,7 +390,7 @@ e_week_view_layout_get_day_position (gint day, any = TRUE; for (i = m; i < M; i++) { - arr [i - m] += 3; + arr[i - m] += 3; wd += 3; } } |