summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2010-05-17 02:03:49 +0000
committerIngo Schwarze <schwarze@openbsd.org>2010-05-17 02:03:49 +0000
commit90d96d41a9b807126753b8fa1d139f50ac8b4c72 (patch)
tree41df1395aa0911a4ca9288e45f6a98196ac546b5 /Makefile
parentb2c69380f33dc4e4386ea05b9265b2e845e6a147 (diff)
downloadmandoc-90d96d41a9b807126753b8fa1d139f50ac8b4c72.tar.gz
The function term_flushln() had effectively forked in OpenBSD.
This is the bsd.lv part of the main step to bring it back in sync. At the same time, this prevents trailing whitespace in the output: We delay writing blanks until we are sure printable characters follow. This is achieved by * remembering the end of the word instead of its length * and not using vbl any longer for the control of line breaking * such that vbl can sum up all kinds of white space * before writing a word, printing all the blanks collected in vbl * within the word, adding NBSP chars to vbl, then continuing with the word * after the word, adding blanks to vbl, then starting the next word "looks good" kristaps@
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions