aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@helixcode.com>2000-06-09 00:28:39 +0800
committerFederico Mena Quintero <federico@src.gnome.org>2000-06-09 00:28:39 +0800
commit1396db5dc3fd395059d4bbe6cd0d8422110d0b81 (patch)
tree26d928e866a420f35a37831c42e0aa09af3f86df /calendar
parent9886dd8e2d4a91bb0c7b53cde3aa6b3b44b09038 (diff)
downloadgsoc2013-evolution-1396db5dc3fd395059d4bbe6cd0d8422110d0b81.tar
gsoc2013-evolution-1396db5dc3fd395059d4bbe6cd0d8422110d0b81.tar.gz
gsoc2013-evolution-1396db5dc3fd395059d4bbe6cd0d8422110d0b81.tar.bz2
gsoc2013-evolution-1396db5dc3fd395059d4bbe6cd0d8422110d0b81.tar.lz
gsoc2013-evolution-1396db5dc3fd395059d4bbe6cd0d8422110d0b81.tar.xz
gsoc2013-evolution-1396db5dc3fd395059d4bbe6cd0d8422110d0b81.tar.zst
gsoc2013-evolution-1396db5dc3fd395059d4bbe6cd0d8422110d0b81.zip
Allow for NULL summaries.
2000-06-08 Federico Mena Quintero <federico@helixcode.com> * cal-util/calobj.c (ical_object_to_vobject): Allow for NULL summaries. svn path=/trunk/; revision=3478
Diffstat (limited to 'calendar')
-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);