projects
/
modest
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* src/modest-tny-msg.c:
[modest]
/
src
/
modest-tny-msg.c
diff --git
a/src/modest-tny-msg.c
b/src/modest-tny-msg.c
index
051f5e8
..
56fe1e1
100644
(file)
--- a/
src/modest-tny-msg.c
+++ b/
src/modest-tny-msg.c
@@
-431,7
+431,7
@@
create_reply_forward_mail (TnyMsg *msg, TnyHeader *header, const gchar *from,
/* if we don't have a text-part */
/* if we don't have a text-part */
- no_text_part = (strcmp (tny_mime_part_get_content_type (body), "text/html")==0);
+ no_text_part = (!body) || (strcmp (tny_mime_part_get_content_type (body), "text/html")==0);
/* when we're reply, include the text part if we have it, or nothing otherwise. */
if (is_reply)
/* when we're reply, include the text part if we have it, or nothing otherwise. */
if (is_reply)