diff options
Diffstat (limited to 'calendar/gui/eventedit.c')
-rw-r--r-- | calendar/gui/eventedit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/calendar/gui/eventedit.c b/calendar/gui/eventedit.c index 3ea0f674ec..39a92c5480 100644 --- a/calendar/gui/eventedit.c +++ b/calendar/gui/eventedit.c @@ -1265,7 +1265,7 @@ get_exception_string (time_t t) { static char buf[256]; - strftime (buf, 256, "%a %b %d %Y", localtime (&t)); /* FIXME: how to i18n this? */ + strftime (buf, sizeof(buf), "%a %b %d %Y", localtime (&t)); /* FIXME: how to i18n this? */ return buf; } @@ -1483,7 +1483,7 @@ event_editor_new (GnomeCalendar *gcal, iCalObject *ical) ee = EVENT_EDITOR (retval); if (ical == 0){ - ical = ical_new ("Test Comment", user_name, "Test Summary"); + ical = ical_new ("", user_name, ""); ical->new = 1; } |