summaryrefslogtreecommitdiffstats
path: root/man_term.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-06-04 18:50:35 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-06-04 18:50:35 +0000
commit68a2cb887c993621fe7b72e21517d6a260376003 (patch)
treef8dbeeff8b289fcaa4769848cb09db9923ab6e94 /man_term.c
parentafcc0a6de7e295d807dddcf20b26811ab1e7803c (diff)
downloadmandoc-68a2cb887c993621fe7b72e21517d6a260376003.tar.gz
Make term_flushln() simpler and more robust:
Eliminate the "overstep" state variable. The information is already contained in "viscol". Minus 60 lines of code, no functional change intended.
Diffstat (limited to 'man_term.c')
-rw-r--r--man_term.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/man_term.c b/man_term.c
index 3a600093..b86af98f 100644
--- a/man_term.c
+++ b/man_term.c
@@ -141,7 +141,6 @@ terminal_man(void *arg, const struct roff_man *man)
size_t save_defindent;
p = (struct termp *)arg;
- p->overstep = 0;
p->rmargin = p->maxrmargin = p->defrmargin;
term_tab_set(p, NULL);
term_tab_set(p, "T");