From ab795e726e781905db61f736dacb3fbb0e35a301 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Sun, 4 Jun 2017 18:50:35 +0000 Subject: 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. --- man_term.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'man_term.c') diff --git a/man_term.c b/man_term.c index b090bc43..a32213fb 100644 --- a/man_term.c +++ b/man_term.c @@ -1,4 +1,4 @@ -/* $Id: man_term.c,v 1.200 2017/05/09 14:10:01 schwarze Exp $ */ +/* $Id: man_term.c,v 1.201 2017/06/04 18:50:35 schwarze Exp $ */ /* * Copyright (c) 2008-2012 Kristaps Dzonsons * Copyright (c) 2010-2015, 2017 Ingo Schwarze @@ -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"); -- cgit v1.2.3