diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-03-20 22:01:07 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-03-20 22:01:07 +0000 |
commit | 0805dbdbaa8481f2f101a4625f772844db8f116b (patch) | |
tree | e2302dc6c47e5f7edb1b555915b1245d943bd683 | |
parent | 6907507e9490a89668a79a58931609f62c65bbb5 (diff) | |
download | mandoc-0805dbdbaa8481f2f101a4625f772844db8f116b.tar.gz |
Removed margin-break comment.
-rw-r--r-- | terminal.c | 21 |
1 files changed, 6 insertions, 15 deletions
@@ -222,21 +222,12 @@ term_flushln(struct termp *p) for (j = 0; j < (int)p->offset; j++) putchar(' '); vis = 0; - } else if (vis + vsz > bp) - warnx("word breaks right margin"); - - /* TODO: hyphenate. */ - - } else { - if (vis && vis + vsz > bp) { - putchar('\n'); - for (j = 0; j < (int)p->rmargin; j++) - putchar(' '); - vis = p->rmargin - p->offset; - } else if (vis + vsz > bp) - warnx("word breaks right margin"); - - /* TODO: hyphenate. */ + } + } else if (vis && vis + vsz > bp) { + putchar('\n'); + for (j = 0; j < (int)p->rmargin; j++) + putchar(' '); + vis = p->rmargin - p->offset; } /* |