=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/mandoc/term.c,v retrieving revision 1.62 retrieving revision 1.63 diff -u -r1.62 -r1.63 --- src/usr.bin/mandoc/term.c 2011/09/21 09:57:11 1.62 +++ src/usr.bin/mandoc/term.c 2012/05/27 01:01:24 1.63 @@ -1,7 +1,7 @@ -/* $Id: term.c,v 1.62 2011/09/21 09:57:11 schwarze Exp $ */ +/* $Id: term.c,v 1.63 2012/05/27 01:01:24 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons - * Copyright (c) 2010, 2011 Ingo Schwarze + * Copyright (c) 2010, 2011, 2012 Ingo Schwarze * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -312,7 +312,10 @@ term_newln(p); p->viscol = 0; - (*p->endline)(p); + if (0 < p->skipvsp) + p->skipvsp--; + else + (*p->endline)(p); } void