1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-12-26 01:28:50 -05:00

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_PREFIX);
text.append(filename); text.append(filename);
text.append(FILENAME_SUFFIX);
text.append(TEXT_DIVIDER.substring(0, TEXT_DIVIDER_LENGTH - text.append(TEXT_DIVIDER.substring(0, TEXT_DIVIDER_LENGTH -
FILENAME_PREFIX_LENGTH - filename.length() - FILENAME_SUFFIX_LENGTH)); FILENAME_PREFIX_LENGTH - filename.length() - FILENAME_SUFFIX_LENGTH));
text.append(' ');
} else { } else {
text.append(TEXT_DIVIDER); text.append(TEXT_DIVIDER);
} }