aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-day-view-time-item.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/e-day-view-time-item.c')
-rw-r--r--calendar/gui/e-day-view-time-item.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/calendar/gui/e-day-view-time-item.c b/calendar/gui/e-day-view-time-item.c
index 219f61d10f..19d8d40317 100644
--- a/calendar/gui/e-day-view-time-item.c
+++ b/calendar/gui/e-day-view-time-item.c
@@ -262,7 +262,7 @@ e_day_view_time_item_draw (GnomeCanvasItem *canvas_item,
}
hour = day_view->first_hour_shown;
- if (day_view->use_24_hour_format) {
+ if (!day_view->use_24_hour_format) {
if (hour == 0 || hour == 12)
hour = 12;
else
@@ -323,7 +323,7 @@ e_day_view_time_item_draw (GnomeCanvasItem *canvas_item,
minute += day_view->mins_per_row;
if (minute >= 60) {
hour++;
- if (day_view->use_24_hour_format) {
+ if (!day_view->use_24_hour_format) {
if (hour == 0 || hour == 12)
hour = 12;
else