diff options
author | Milan Crha <mcrha@src.gnome.org> | 2007-08-16 18:51:06 +0800 |
---|---|---|
committer | Milan Crha <mcrha@src.gnome.org> | 2007-08-16 18:51:06 +0800 |
commit | ca5d6d6a338fbe5d8e6b24b85f681b9df07ce392 (patch) | |
tree | 45fb3d086d27a695be5eff6ae9f7a8d47d23fd7b /mail/em-format-quote.c | |
parent | 6ee27498e11e532a971cbb10659d754a7c2a577d (diff) | |
download | gsoc2013-evolution-ca5d6d6a338fbe5d8e6b24b85f681b9df07ce392.tar.gz gsoc2013-evolution-ca5d6d6a338fbe5d8e6b24b85f681b9df07ce392.tar.zst gsoc2013-evolution-ca5d6d6a338fbe5d8e6b24b85f681b9df07ce392.zip |
2007-08-16 mcrha Part of fix for bug #350539
svn path=/trunk/; revision=34017
Diffstat (limited to 'mail/em-format-quote.c')
-rw-r--r-- | mail/em-format-quote.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/mail/em-format-quote.c b/mail/em-format-quote.c index 647a7783a5..1b17e004aa 100644 --- a/mail/em-format-quote.c +++ b/mail/em-format-quote.c @@ -358,6 +358,9 @@ emfq_format_headers (EMFormatQuote *emfq, CamelStream *stream, CamelMedium *part const char *charset; EMFormatHeader *h; + if (!part) + return; + ct = camel_mime_part_get_content_type ((CamelMimePart *) part); charset = camel_content_type_param (ct, "charset"); charset = e_iconv_charset_name (charset); @@ -457,7 +460,10 @@ emfq_text_plain(EMFormatQuote *emfq, CamelStream *stream, CamelMimePart *part, E CamelContentType *type; const char *format; guint32 rgb = 0x737373, flags; - + + if (!part) + return; + flags = emfq->text_html_flags; /* Check for RFC 2646 flowed text. */ |