From 19fb22903ca10a1e22e1f23a5accee350b75fee1 Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Thu, 9 Sep 2010 09:37:44 +0200 Subject: Bug #629046 - Empty reply quotation for HTML messages --- em-format/em-format.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'em-format') diff --git a/em-format/em-format.c b/em-format/em-format.c index 119ac646a2..baa1803276 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; } -- cgit v1.2.3