aboutsummaryrefslogtreecommitdiffstats
path: root/em-format
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2010-09-09 15:37:44 +0800
committerMilan Crha <mcrha@redhat.com>2010-09-09 15:37:44 +0800
commit19fb22903ca10a1e22e1f23a5accee350b75fee1 (patch)
treea7715cefe78886faa8c92fcdedfbfcec5ad30f7f /em-format
parent90dd581ba3fe3809a210d56d83240cd4ab5197c3 (diff)
downloadgsoc2013-evolution-19fb22903ca10a1e22e1f23a5accee350b75fee1.tar
gsoc2013-evolution-19fb22903ca10a1e22e1f23a5accee350b75fee1.tar.gz
gsoc2013-evolution-19fb22903ca10a1e22e1f23a5accee350b75fee1.tar.bz2
gsoc2013-evolution-19fb22903ca10a1e22e1f23a5accee350b75fee1.tar.lz
gsoc2013-evolution-19fb22903ca10a1e22e1f23a5accee350b75fee1.tar.xz
gsoc2013-evolution-19fb22903ca10a1e22e1f23a5accee350b75fee1.tar.zst
gsoc2013-evolution-19fb22903ca10a1e22e1f23a5accee350b75fee1.zip
Bug #629046 - Empty reply quotation for HTML messages
Diffstat (limited to 'em-format')
-rw-r--r--em-format/em-format.c5
1 files changed, 3 insertions, 2 deletions
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;
}