diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-07-11 23:31:15 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-07-12 10:25:06 +0800 |
commit | eb29179da623f9cf4abd663577395a085452ca18 (patch) | |
tree | a7eec4690f254d4cb9048ca87a5e7f401a2e74ae /calendar/gui/e-week-view-layout.c | |
parent | beb8e74577f695d0d3c2efea52dc10c2136f0135 (diff) | |
download | gsoc2013-evolution-eb29179da623f9cf4abd663577395a085452ca18.tar gsoc2013-evolution-eb29179da623f9cf4abd663577395a085452ca18.tar.gz gsoc2013-evolution-eb29179da623f9cf4abd663577395a085452ca18.tar.bz2 gsoc2013-evolution-eb29179da623f9cf4abd663577395a085452ca18.tar.lz gsoc2013-evolution-eb29179da623f9cf4abd663577395a085452ca18.tar.xz gsoc2013-evolution-eb29179da623f9cf4abd663577395a085452ca18.tar.zst gsoc2013-evolution-eb29179da623f9cf4abd663577395a085452ca18.zip |
Coding style and whitespace cleanup.
Diffstat (limited to 'calendar/gui/e-week-view-layout.c')
-rw-r--r-- | calendar/gui/e-week-view-layout.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/calendar/gui/e-week-view-layout.c b/calendar/gui/e-week-view-layout.c index 8962d81610..7863791e25 100644 --- a/calendar/gui/e-week-view-layout.c +++ b/calendar/gui/e-week-view-layout.c @@ -348,7 +348,7 @@ e_week_view_layout_get_day_position (gint day, edge = 3; if (wk (0) + wk (1) + wk (2) < wk (3) + wk (4) + wk (5) + wk (6)) - edge ++; + edge++; if (day < edge) { *day_x = 0; @@ -375,10 +375,10 @@ e_week_view_layout_get_day_position (gint day, if (wd > 6) { /* too many rows, make last shorter */ arr [i - m] --; - wd --; + wd--; } else if (wd < 6) { /* free rows left, enlarge those bigger */ arr [i - m] ++; - wd ++; + wd++; } if (wd == 6) |