=================================================================== RCS file: /cvs/mandoc/term.c,v retrieving revision 1.241 retrieving revision 1.242 diff -u -p -r1.241 -r1.242 --- mandoc/term.c 2014/12/24 09:58:35 1.241 +++ mandoc/term.c 2014/12/24 23:32:42 1.242 @@ -1,4 +1,4 @@ -/* $Id: term.c,v 1.241 2014/12/24 09:58:35 schwarze Exp $ */ +/* $Id: term.c,v 1.242 2014/12/24 23:32:42 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons * Copyright (c) 2010-2014 Ingo Schwarze @@ -273,7 +273,7 @@ term_flushln(struct termp *p) } if (TERMP_HANG & p->flags) { - p->overstep = (int)(vis - maxvis + + p->overstep += (int)(p->offset + vis - p->rmargin + p->trailspace * (*p->width)(p, ' ')); /*