aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-day-view-time-item.c
diff options
context:
space:
mode:
authorDamon Chaplin <damon@helixcode.com>2000-10-12 18:45:23 +0800
committerDamon Chaplin <damon@src.gnome.org>2000-10-12 18:45:23 +0800
commit4e7e9477148d8558b48c7b3a10831c73e0e4b326 (patch)
treeb2f1bb13a0c3f75ec19ed24a4b20af1c34262589 /calendar/gui/e-day-view-time-item.c
parent8ca39c14e9a5dad782a3a26662775a914ba287df (diff)
downloadgsoc2013-evolution-4e7e9477148d8558b48c7b3a10831c73e0e4b326.tar.gz
gsoc2013-evolution-4e7e9477148d8558b48c7b3a10831c73e0e4b326.tar.zst
gsoc2013-evolution-4e7e9477148d8558b48c7b3a10831c73e0e4b326.zip
got 12/24 hour format the wrong way round.
2000-10-11 Damon Chaplin <damon@helixcode.com> * gui/e-day-view-time-item.c (e_day_view_time_item_draw): got 12/24 hour format the wrong way round. svn path=/trunk/; revision=5880
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