From 5fa757bba1a2df6e92a922e0fce3bd63817a9a38 Mon Sep 17 00:00:00 2001 From: Andrew Chen Date: Thu, 3 Feb 2011 03:35:50 +0000 Subject: [PATCH] Only include name with an address if it's non-empty. --- src/com/fsck/k9/mail/Address.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/fsck/k9/mail/Address.java b/src/com/fsck/k9/mail/Address.java index aed568ff0..0ec02f7c1 100644 --- a/src/com/fsck/k9/mail/Address.java +++ b/src/com/fsck/k9/mail/Address.java @@ -203,7 +203,7 @@ public class Address @Override public String toString() { - if (mPersonal != null) + if (mPersonal != null && !mPersonal.equals("")) { return Utility.quoteAtoms(mPersonal) + " <" + mAddress + ">"; }