[evolution] Bug #629046 - Empty reply quotation for HTML messages



commit 19fb22903ca10a1e22e1f23a5accee350b75fee1
Author: Milan Crha <mcrha redhat com>
Date:   Thu Sep 9 09:37:44 2010 +0200

    Bug #629046 - Empty reply quotation for HTML messages

 em-format/em-format.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/em-format/em-format.c b/em-format/em-format.c
index 119ac64..baa1803 100644
--- a/em-format/em-format.c
+++ b/em-format/em-format.c
@@ -1612,8 +1612,9 @@ emf_multipart_alternative (EMFormat *emf,
 		/*if (want_plain && !strcmp (mime_type, "text/plain"))
 		  return part;*/
 
-		if (em_format_find_handler(emf, mime_type)
-		    || (best == NULL && em_format_fallback_handler(emf, mime_type))) {
+		if (!em_format_is_attachment (emf, part) &&
+		    (em_format_find_handler (emf, mime_type)
+		    || (best == NULL && em_format_fallback_handler (emf, mime_type)))) {
 			best = part;
 			bestid = i;
 		}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]