1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-02-23 22:51:02 +00:00

CR/LF processing

This commit is contained in:
M66B 2021-04-17 19:32:22 +02:00
parent 88eb02f3c0
commit c663b367b0

View file

@ -914,12 +914,11 @@ public class FragmentFolders extends FragmentBase {
@Override
public void write(int b) throws IOException {
if (b == 13) {
if (cr)
if (b == 13 /* CR */) {
if (cr || lf)
line();
else
cr = true;
} else if (b == 10) {
cr = true;
} else if (b == 10 /* LF */) {
if (cr)
line();
else if (lf) {