=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/mandoc/term.c,v retrieving revision 1.61 retrieving revision 1.62 diff -c -r1.61 -r1.62 *** src/usr.bin/mandoc/term.c 2011/09/19 22:36:11 1.61 --- src/usr.bin/mandoc/term.c 2011/09/21 09:57:11 1.62 *************** *** 1,4 **** ! /* $Id: term.c,v 1.61 2011/09/19 22:36:11 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons * Copyright (c) 2010, 2011 Ingo Schwarze --- 1,4 ---- ! /* $Id: term.c,v 1.62 2011/09/21 09:57:11 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons * Copyright (c) 2010, 2011 Ingo Schwarze *************** *** 180,193 **** if (vend > bp && 0 == jhy && vis > 0) { vend -= vis; (*p->endline)(p); if (TERMP_NOBREAK & p->flags) { ! p->viscol = p->rmargin; ! (*p->advance)(p, p->rmargin); vend += p->rmargin - p->offset; ! } else { ! p->viscol = 0; vbl = p->offset; - } /* Remove the p->overstep width. */ --- 180,191 ---- if (vend > bp && 0 == jhy && vis > 0) { vend -= vis; (*p->endline)(p); + p->viscol = 0; if (TERMP_NOBREAK & p->flags) { ! vbl = p->rmargin; vend += p->rmargin - p->offset; ! } else vbl = p->offset; /* Remove the p->overstep width. */