projects
/
modest
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixes FwNULL 15/16
[modest]
/
src
/
modest-text-utils.c
diff --git
a/src/modest-text-utils.c
b/src/modest-text-utils.c
index
614db37
..
4203b03
100644
(file)
--- a/
src/modest-text-utils.c
+++ b/
src/modest-text-utils.c
@@
-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 ("");
}
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) {
quote_html_add_to_gstring (result_string, quoted_text->str);
g_string_free (quoted_text, TRUE);
if (attachments) {