From 1396db5dc3fd395059d4bbe6cd0d8422110d0b81 Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Thu, 8 Jun 2000 16:28:39 +0000 Subject: Allow for NULL summaries. 2000-06-08 Federico Mena Quintero * cal-util/calobj.c (ical_object_to_vobject): Allow for NULL summaries. svn path=/trunk/; revision=3478 --- calendar/ChangeLog | 5 +++++ calendar/cal-util/calobj.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/calendar/ChangeLog b/calendar/ChangeLog index e2d22ca657..58da7e9a31 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,8 @@ +2000-06-08 Federico Mena Quintero + + * cal-util/calobj.c (ical_object_to_vobject): Allow for NULL + summaries. + 2000-06-07 Federico Mena Quintero * gui/event-editor.c (toolbar): Added missing tooltips. We still diff --git a/calendar/cal-util/calobj.c b/calendar/cal-util/calobj.c index 8addf8d9f6..7d6290e3e9 100644 --- a/calendar/cal-util/calobj.c +++ b/calendar/cal-util/calobj.c @@ -1049,7 +1049,7 @@ ical_object_to_vobject (iCalObject *ical) } /* summary */ - if (strlen (ical->summary)){ + if (ical->summary && strlen (ical->summary)) { s = addPropValue (o, VCSummaryProp, ical->summary); if (strchr (ical->summary, '\n')) addProp (s, VCQuotedPrintableProp); -- cgit