tweaks: reshuffle a condition, for symmetry
parent
fe94999c1c
commit
964771afc3
|
@ -686,8 +686,8 @@ void read_file(FILE *f, int fd, const char *filename, bool undoable)
|
||||||
format = 1;
|
format = 1;
|
||||||
len--;
|
len--;
|
||||||
}
|
}
|
||||||
} else if ((num_lines == 0 || format == 2) && !ISSET(NO_CONVERT) &&
|
} else if ((num_lines == 0 || format == 2) &&
|
||||||
len > 0 && buf[len - 1] == '\r') {
|
len > 0 && buf[len - 1] == '\r' && !ISSET(NO_CONVERT)) {
|
||||||
format = 2;
|
format = 2;
|
||||||
len--;
|
len--;
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue