From dbf38dae653aa2fdfe2372cec2ab2e19bea5f5c7 Mon Sep 17 00:00:00 2001 From: cketti Date: Sat, 17 Mar 2012 00:30:40 +0100 Subject: [PATCH] Fixed the change of the previous commit --- src/com/fsck/k9/mail/internet/MimeUtility.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/com/fsck/k9/mail/internet/MimeUtility.java b/src/com/fsck/k9/mail/internet/MimeUtility.java index 1c43d3b58..20486232c 100644 --- a/src/com/fsck/k9/mail/internet/MimeUtility.java +++ b/src/com/fsck/k9/mail/internet/MimeUtility.java @@ -3306,9 +3306,9 @@ public class MimeUtility { BodyPart bodyPart = multipart.getBodyPart(i); if (bodyPart.getBody() instanceof TextBody) { TextBody textBody = (TextBody) bodyPart.getBody(); - if (text == null && bodyPart.isMimeType("text/plain")) { + if ("".equals(text) && bodyPart.isMimeType("text/plain")) { text = textBody.getText(); - } else if (html == null && bodyPart.isMimeType("text/html")) { + } else if ("".equals(html) && bodyPart.isMimeType("text/html")) { html = textBody.getText(); } }