version 1.51, 2013/06/02 18:16:57 |
version 1.52, 2013/09/15 18:48:31 |
Line 553 man_mdoc(void *arg, const struct mdoc *mdoc) |
|
Line 553 man_mdoc(void *arg, const struct mdoc *mdoc) |
|
static void |
static void |
print_node(DECL_ARGS) |
print_node(DECL_ARGS) |
{ |
{ |
const struct mdoc_node *prev, *sub; |
const struct mdoc_node *sub; |
const struct manact *act; |
const struct manact *act; |
int cond, do_sub; |
int cond, do_sub; |
|
|
Line 561 print_node(DECL_ARGS) |
|
Line 561 print_node(DECL_ARGS) |
|
* Break the line if we were parsed subsequent the current node. |
* Break the line if we were parsed subsequent the current node. |
* This makes the page structure be more consistent. |
* This makes the page structure be more consistent. |
*/ |
*/ |
prev = n->prev ? n->prev : n->parent; |
if (MMAN_spc & outflags && MDOC_LINE & n->flags) |
if (MMAN_spc & outflags && prev && prev->line < n->line) |
|
outflags |= MMAN_nl; |
outflags |= MMAN_nl; |
|
|
act = NULL; |
act = NULL; |