aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gnome-month-item.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gnome-month-item.c')
-rw-r--r--calendar/gnome-month-item.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/calendar/gnome-month-item.c b/calendar/gnome-month-item.c
index 0a9227b325..83e34ff1c7 100644
--- a/calendar/gnome-month-item.c
+++ b/calendar/gnome-month-item.c
@@ -249,7 +249,7 @@ set_day_names (GnomeMonthItem *mitem)
int i;
for (i = 0; i < 7; i++)
- gnome_canvas_item_set (mitem->items[ITEM_HEAD_LABEL + get_day_index (mitem, i)],
+ gnome_canvas_item_set (mitem->items[ITEM_HEAD_LABEL + i],
"text", mitem->day_names[get_day_index (mitem, i)],
NULL);
}