]> git.ipfire.org Git - thirdparty/mlmmj.git/commit
Improvements to wrapping.
authorBen Schmidt <none@none>
Mon, 23 Jan 2012 08:55:04 +0000 (19:55 +1100)
committerBen Schmidt <none@none>
Mon, 23 Jan 2012 08:55:04 +0000 (19:55 +1100)
commit51fcc576008194544f5ce7c56402c4ac7b4a2612
tree9673d030bb6496c4a75c108250088d4fc57d2595
parent0903b077d2b18e1144f34fa59dba6054b7e9fc98
Improvements to wrapping.

- Introduce \<space> to indicate line-break positions to enable sensible
  wrapping of Chinese and similar text.
- Allow lines to be longer than the wrapping width if there are no spaces, as
  generated email addresses (e.g. for moderation) won't work if split.
- Fix a bug where using a whole line while wrapping would turn wrapping off as
  the saved (empty) remaining portion would be considered a blank line.
- Use int rather than size_t for line lengths; it's just easier, since we use
  negatives for certain conditions, and it should be plenty big enough.
ChangeLog
README.listtexts
src/prepstdreply.c