Mercurial > hg > mlmmj
changeset 859:18fa95bcf19c
Don't join lines with spaces when there's only indent without content.
author | Ben Schmidt |
---|---|
date | Thu, 01 Mar 2012 03:34:33 +1100 |
parents | cefb04b9f9bc |
children | eb14ea6e4f21 |
files | src/prepstdreply.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/prepstdreply.c Wed Feb 29 17:39:28 2012 +1100 +++ b/src/prepstdreply.c Thu Mar 01 03:34:33 2012 +1100 @@ -1224,7 +1224,8 @@ if (*prev == '\0') { tmp = mystrdup(pos); } else { - if (txt->wrapmode == WRAP_WORD) { + if (txt->wrapmode == WRAP_WORD && + len > wrapindentlen) { tmp = concatstr(3, prev, " ", pos); len++; width++;