=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/mandoc/roff_term.c,v retrieving revision 1.2 retrieving revision 1.3 diff -c -r1.2 -r1.3 *** src/usr.bin/mandoc/roff_term.c 2017/05/05 02:06:17 1.2 --- src/usr.bin/mandoc/roff_term.c 2017/05/05 13:17:04 1.3 *************** *** 1,6 **** ! /* $OpenBSD: roff_term.c,v 1.2 2017/05/05 02:06:17 schwarze Exp $ */ /* ! * Copyright (c) 2010, 2017 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 --- 1,6 ---- ! /* $OpenBSD: roff_term.c,v 1.3 2017/05/05 13:17:04 schwarze Exp $ */ /* ! * Copyright (c) 2010, 2014, 2017 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 *************** *** 17,22 **** --- 17,23 ---- #include #include + #include #include "roff.h" #include "out.h" *************** *** 28,37 **** --- 29,40 ---- static void roff_term_pre_br(ROFF_TERM_ARGS); static void roff_term_pre_ft(ROFF_TERM_ARGS); + static void roff_term_pre_ll(ROFF_TERM_ARGS); static const roff_term_pre_fp roff_term_pre_acts[ROFF_MAX] = { roff_term_pre_br, /* br */ roff_term_pre_ft, /* ft */ + roff_term_pre_ll, /* ft */ }; *************** *** 77,80 **** --- 80,89 ---- default: break; } + } + + static void + roff_term_pre_ll(ROFF_TERM_ARGS) + { + term_setwidth(p, n->child != NULL ? n->child->string : NULL); }