CR/LF processing

pull/197/head
M66B 4 years ago
parent 88eb02f3c0
commit c663b367b0

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

Loading…
Cancel
Save