diff options
author | Chenthill Palanisamy <pchen@src.gnome.org> | 2009-01-30 17:29:12 +0800 |
---|---|---|
committer | Chenthill Palanisamy <pchen@src.gnome.org> | 2009-01-30 17:29:12 +0800 |
commit | 04d8bcd8c0a0fdf6c3f3c98f7999bded68d40d9f (patch) | |
tree | 7e316477c1c783ea785ca492f71ef02e0b0c5560 /calendar/gui | |
parent | bf4820e7210c70abc7fd4249dc838115bdec6727 (diff) | |
download | gsoc2013-evolution-04d8bcd8c0a0fdf6c3f3c98f7999bded68d40d9f.tar gsoc2013-evolution-04d8bcd8c0a0fdf6c3f3c98f7999bded68d40d9f.tar.gz gsoc2013-evolution-04d8bcd8c0a0fdf6c3f3c98f7999bded68d40d9f.tar.bz2 gsoc2013-evolution-04d8bcd8c0a0fdf6c3f3c98f7999bded68d40d9f.tar.lz gsoc2013-evolution-04d8bcd8c0a0fdf6c3f3c98f7999bded68d40d9f.tar.xz gsoc2013-evolution-04d8bcd8c0a0fdf6c3f3c98f7999bded68d40d9f.tar.zst gsoc2013-evolution-04d8bcd8c0a0fdf6c3f3c98f7999bded68d40d9f.zip |
Fixes #450535 (bnc).
svn path=/trunk/; revision=37188
Diffstat (limited to 'calendar/gui')
-rw-r--r-- | calendar/gui/e-calendar-view.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/calendar/gui/e-calendar-view.c b/calendar/gui/e-calendar-view.c index 1215d5d7a2..e4270426e7 100644 --- a/calendar/gui/e-calendar-view.c +++ b/calendar/gui/e-calendar-view.c @@ -2019,7 +2019,7 @@ e_calendar_view_new_appointment_full (ECalendarView *cal_view, gboolean all_day, /* We either need rounding or don't want to set all_day for this, we will rather use actual */ /* time in this cases; dtstart should be a midnight in this case */ - if (do_rounding || (!all_day && (dtend - dtstart) % (60 * 60 * 24) == 0)) { + if (do_rounding || (!all_day && (dtend - dtstart) == (60 * 60 * 24))) { struct tm local = *localtime (&now); int time_div = calendar_config_get_time_divisions (); int hours, mins; |