summaryrefslogtreecommitdiffstats
path: root/mdocterm.c
diff options
context:
space:
mode:
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;