aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--calendar/ChangeLog5
-rw-r--r--calendar/cal-util/calobj.c2
2 files changed, 6 insertions, 1 deletions
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 <federico@helixcode.com>
+
+ * cal-util/calobj.c (ical_object_to_vobject): Allow for NULL
+ summaries.
+
2000-06-07 Federico Mena Quintero <federico@helixcode.com>
* 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);