=================================================================== RCS file: /cvs/mandoc/man.c,v retrieving revision 1.116 retrieving revision 1.118 diff -u -p -r1.116 -r1.118 --- mandoc/man.c 2012/06/02 20:16:23 1.116 +++ mandoc/man.c 2012/07/14 10:47:07 1.118 @@ -1,4 +1,4 @@ -/* $Id: man.c,v 1.116 2012/06/02 20:16:23 schwarze Exp $ */ +/* $Id: man.c,v 1.118 2012/07/14 10:47:07 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons * @@ -131,7 +131,7 @@ man_parseln(struct man *m, int ln, char *buf, int offs assert( ! (MAN_HALT & m->flags)); - return (mandoc_getcontrol(buf, &offs) ? + return (roff_getcontrol(m->roff, buf, &offs) ? man_pmacro(m, ln, buf, offs) : man_ptext(m, ln, buf, offs)); } @@ -435,9 +435,10 @@ man_ptext(struct man *m, int line, char *buf, int offs if ('\0' == buf[i]) { /* Allocate a blank entry. */ - if ( ! man_word_alloc(m, line, offs, "")) + if ( ! man_elem_alloc(m, line, offs, MAN_sp)) return(0); - return(man_descope(m, line, offs)); + m->next = MAN_NEXT_SIBLING; + return(1); } /*