=================================================================== RCS file: /cvs/mandoc/term.c,v retrieving revision 1.201 retrieving revision 1.202 diff -u -p -r1.201 -r1.202 --- mandoc/term.c 2011/09/21 09:57:13 1.201 +++ mandoc/term.c 2012/05/27 18:02:49 1.202 @@ -1,7 +1,7 @@ -/* $Id: term.c,v 1.201 2011/09/21 09:57:13 schwarze Exp $ */ +/* $Id: term.c,v 1.202 2012/05/27 18:02:49 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 @@ -316,7 +316,10 @@ term_vspace(struct termp *p) term_newln(p); p->viscol = 0; - (*p->endline)(p); + if (0 < p->skipvsp) + p->skipvsp--; + else + (*p->endline)(p); } void