CR/LF processing

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

@ -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…
Cancel
Save