mblaze

Unix utilities to deal with Maildir - my mirror
git clone https://pi.duncano.de/git/mblaze.git
Log | Files | Refs | README | COPYING

commit 7c1c2c374033de92e178b0f1d91792abc0f51412
parent 3bfd9319e9e7385f97d5a32e36bb53890731b110
Author: Leah Neukirchen <leah@vuxu.org>
Date:   Sat,  2 Sep 2017 18:23:17 +0200

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

Diffstat:
mflow.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/mflow.c b/mflow.c @@ -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 == ' ') {