Fixes FwNULL 15/16
authorSergio Villar Senin <svillar@igalia.com>
Wed, 18 Mar 2009 17:15:24 +0000 (17:15 +0000)
committerSergio Villar Senin <svillar@igalia.com>
Wed, 18 Mar 2009 17:15:24 +0000 (17:15 +0000)
pmo-trunk-r8179

src/modest-text-utils.c

index 614db37..4203b03 100644 (file)
@@ -1016,7 +1016,7 @@ modest_text_utils_quote_html (const gchar *text,
                }
                quote_html_add_to_gstring (result_string, cite);
                quoted_text = g_string_new ("");
-               quoted_text = modest_text_utils_quote_body (quoted_text, text, ">", limit);
+               quoted_text = modest_text_utils_quote_body (quoted_text, (text) ? text : "", ">", limit);
                quote_html_add_to_gstring (result_string, quoted_text->str);
                g_string_free (quoted_text, TRUE);
                if (attachments) {