mflow: flowed: ensure progress by printing at least one word each time

Even if this overflows the line length...
pull/77/head
Leah Neukirchen 7 years ago
parent c1fcb246bb
commit d46f65d38c

@ -76,7 +76,8 @@ flowed(int quotes, char *line, ssize_t linelen)
}
if (column + (eow - line) > maxcolumn &&
eow - line < maxcolumn) {
eow - line < maxcolumn &&
column - quotes > 1) {
putchar('\n');
column = 0;
done = 0;

Loading…
Cancel
Save