Fixed divider before text part with filename

This commit is contained in:
cketti 2012-02-18 00:04:09 +01:00
parent 8ce78408c2
commit b9803ece19

View file

@ -1853,9 +1853,9 @@ public class MimeUtility {
}
text.append(FILENAME_PREFIX);
text.append(filename);
text.append(FILENAME_SUFFIX);
text.append(TEXT_DIVIDER.substring(0, TEXT_DIVIDER_LENGTH -
FILENAME_PREFIX_LENGTH - filename.length() - FILENAME_SUFFIX_LENGTH));
text.append(' ');
} else {
text.append(TEXT_DIVIDER);
}