=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/mandoc/mdoc_term.c,v retrieving revision 1.161 retrieving revision 1.162 diff -c -r1.161 -r1.162 *** src/usr.bin/mandoc/mdoc_term.c 2014/02/16 12:30:51 1.161 --- src/usr.bin/mandoc/mdoc_term.c 2014/03/30 19:47:32 1.162 *************** *** 1,4 **** ! /* $Id: mdoc_term.c,v 1.161 2014/02/16 12:30:51 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons * Copyright (c) 2010, 2012, 2013, 2014 Ingo Schwarze --- 1,4 ---- ! /* $Id: mdoc_term.c,v 1.162 2014/03/30 19:47:32 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons * Copyright (c) 2010, 2012, 2013, 2014 Ingo Schwarze *************** *** 100,105 **** --- 100,106 ---- static int termp_in_pre(DECL_ARGS); static int termp_it_pre(DECL_ARGS); static int termp_li_pre(DECL_ARGS); + static int termp_ll_pre(DECL_ARGS); static int termp_lk_pre(DECL_ARGS); static int termp_nd_pre(DECL_ARGS); static int termp_nm_pre(DECL_ARGS); *************** *** 240,245 **** --- 241,247 ---- { termp_sp_pre, NULL }, /* sp */ { NULL, termp____post }, /* %U */ { NULL, NULL }, /* Ta */ + { termp_ll_pre, NULL }, /* ll */ }; *************** *** 380,387 **** if (MDOC_EOS & n->flags) p->flags |= TERMP_SENTENCE; ! p->offset = offset; ! p->rmargin = rmargin; } --- 382,391 ---- if (MDOC_EOS & n->flags) p->flags |= TERMP_SENTENCE; ! if (MDOC_ll != n->tok) { ! p->offset = offset; ! p->rmargin = rmargin; ! } } *************** *** 606,611 **** --- 610,625 ---- } term_vspace(p); + } + + + /* ARGSUSED */ + static int + termp_ll_pre(DECL_ARGS) + { + + (*p->setwidth)(p, n->nchild ? a2width(p, n->child->string) : 0); + return(0); }