diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2017-06-04 18:50:35 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2017-06-04 18:50:35 +0000 |
commit | 68a2cb887c993621fe7b72e21517d6a260376003 (patch) | |
tree | f8dbeeff8b289fcaa4769848cb09db9923ab6e94 /man_term.c | |
parent | afcc0a6de7e295d807dddcf20b26811ab1e7803c (diff) | |
download | mandoc-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.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -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"); |