aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/cal-util
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/cal-util
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/cal-util')
-rw-r--r--calendar/cal-util/calobj.c2
1 files changed, 1 insertions, 1 deletions
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);