summaryrefslogtreecommitdiffstats
path: root/mdocterm.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-03-03 22:17:19 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-03-03 22:17:19 +0000
commitf64a310e2e71ac67ec7eb30da2ee82c83de8bf44 (patch)
treed4b683bc786ed5c4ff77fa6f7b209ca49e968345 /mdocterm.c
parentc953aa714570186eae41b5407803bc0826f109bf (diff)
downloadmandoc-f64a310e2e71ac67ec7eb30da2ee82c83de8bf44.tar.gz
-inset and -diag lists now supported.
Diffstat (limited to 'mdocterm.c')
-rw-r--r--mdocterm.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/mdocterm.c b/mdocterm.c
index e34ab4f2..0913a1b2 100644
--- a/mdocterm.c
+++ b/mdocterm.c
@@ -227,9 +227,6 @@ main(int argc, char *argv[])
* offset value. This is useful when doing columnar lists where the
* prior column has right-padded.
*
- * - TERMP_LITERAL: don't break apart words. Note that a long literal
- * word will violate the right margin.
- *
* - TERMP_NOBREAK: this is the most important and is used when making
* columns. In short: don't print a newline and instead pad to the
* right margin. Used in conjunction with TERMP_NOLPAD.
@@ -363,10 +360,10 @@ flushln(struct termp *p)
* pad to the right margin and stay off.
*/
- if (p->flags & TERMP_NOBREAK) {
+ if (p->flags & TERMP_NOBREAK)
for ( ; vis < maxvis; vis++)
putchar(' ');
- } else
+ else
putchar('\n');
p->col = 0;