aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/eventedit.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/eventedit.c')
-rw-r--r--calendar/eventedit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/calendar/eventedit.c b/calendar/eventedit.c
index 3ea0f674ec..39a92c5480 100644
--- a/calendar/eventedit.c
+++ b/calendar/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;
}