From 32d2e7c670ebc72b8f60172e8f6fddcc5ae7f45d Mon Sep 17 00:00:00 2001 From: Damon Chaplin Date: Sat, 30 Sep 2000 15:26:53 +0000 Subject: better i18n of strftime strings. 2000-09-30 Damon Chaplin * e-calendar-item.c: * e-dateedit.c: better i18n of strftime strings. svn path=/trunk/; revision=5645 --- widgets/misc/e-calendar-item.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'widgets/misc/e-calendar-item.c') diff --git a/widgets/misc/e-calendar-item.c b/widgets/misc/e-calendar-item.c index 78604716f2..e84f24329d 100644 --- a/widgets/misc/e-calendar-item.c +++ b/widgets/misc/e-calendar-item.c @@ -1036,7 +1036,7 @@ e_calendar_item_draw_month (ECalendarItem *calitem, gdk_gc_set_clip_rectangle (fg_gc, &clip_rect); /* This is a strftime() format. %B = Month name, %Y = Year. */ - strftime (buffer, 64, _("%B %Y"), &tmp_tm); + strftime (buffer, sizeof (buffer), _("%B %Y"), &tmp_tm); /* Ideally we place the text centered in the month, but we won't go to the left of the minimum x position. */ @@ -2668,7 +2668,7 @@ e_calendar_item_show_popup_menu (ECalendarItem *calitem, tmp_tm.tm_isdst = -1; mktime (&tmp_tm); /* This is a strftime() format. %B = Month name, %Y = Year. */ - strftime (buffer, 64, _("%B %Y"), &tmp_tm); + strftime (buffer, sizeof (buffer), _("%B %Y"), &tmp_tm); menuitem = gtk_menu_item_new_with_label (buffer); gtk_widget_show (menuitem); -- cgit v1.2.3