diff options
Diffstat (limited to 'mdocterm.c')
-rw-r--r-- | mdocterm.c | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -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; |