=================================================================== RCS file: /cvs/mandoc/man_term.c,v retrieving revision 1.186 retrieving revision 1.187 diff -u -p -r1.186 -r1.187 --- mandoc/man_term.c 2015/10/12 00:08:15 1.186 +++ mandoc/man_term.c 2016/01/08 17:48:09 1.187 @@ -1,4 +1,4 @@ -/* $Id: man_term.c,v 1.186 2015/10/12 00:08:15 schwarze Exp $ */ +/* $Id: man_term.c,v 1.187 2016/01/08 17:48:09 schwarze Exp $ */ /* * Copyright (c) 2008-2012 Kristaps Dzonsons * Copyright (c) 2010-2015 Ingo Schwarze @@ -219,7 +219,7 @@ static int pre_ll(DECL_ARGS) { - term_setwidth(p, n->nchild ? n->child->string : NULL); + term_setwidth(p, n->child != NULL ? n->child->string : NULL); return 0; }