From b6a4a8bdb86886c8715f487f35069a5c90c72b9c Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Mon, 16 Dec 2002 14:55:28 +0000 Subject: Correctly convert text.value into HTML here (ie, don't pass "None" 2002-12-16 Jeffrey Stedfast * gui/e-itip-control.c (write_html): Correctly convert text.value into HTML here (ie, don't pass "None" into e_text_to_html() if text.value is NULL). svn path=/trunk/; revision=19123 --- calendar/gui/e-itip-control.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'calendar/gui/e-itip-control.c') diff --git a/calendar/gui/e-itip-control.c b/calendar/gui/e-itip-control.c index 168ed4359b..117cf4468e 100644 --- a/calendar/gui/e-itip-control.c +++ b/calendar/gui/e-itip-control.c @@ -799,7 +799,7 @@ write_html (EItipControl *itip, const gchar *itip_desc, const gchar *itip_title, /* Summary */ cal_component_get_summary (priv->comp, &text); - html = e_text_to_html (text.value ? text.value : _("None"), E_TEXT_TO_HTML_CONVERT_NL); + html = text.value ? e_text_to_html (text.value, E_TEXT_TO_HTML_CONVERT_NL) : _("None"); gtk_html_stream_printf (html_stream, "%s
%s

", _("Summary:"), html); g_free (html); -- cgit v1.2.3