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:
parent
88eb02f3c0
commit
c663b367b0
1 changed files with 4 additions and 5 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue