mflow: flowed: add case where the word is too long for a line

pull/75/head
Leah Neukirchen 7 years ago
parent 3bfd9319e9
commit 7c1c2c3740

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

Loading…
Cancel
Save