X-Git-Url: https://git.cameronkatri.com/mandoc.git/blobdiff_plain/f813f185be40796eacad83ea709b1ba0374a67c1..8ee4ce8a2dfd617e29674aa4e0718c32e1ad02c5:/mdoc_action.c?ds=sidebyside diff --git a/mdoc_action.c b/mdoc_action.c index 0618f3ea..a4eb532c 100644 --- a/mdoc_action.c +++ b/mdoc_action.c @@ -1,6 +1,6 @@ -/* $Id: mdoc_action.c,v 1.74 2010/07/01 22:56:17 kristaps Exp $ */ +/* $Id: mdoc_action.c,v 1.76 2010/07/13 23:53:20 schwarze Exp $ */ /* - * Copyright (c) 2008, 2009 Kristaps Dzonsons + * Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -782,6 +782,9 @@ post_bl_head(POST_ARGS) np->args->argv[c].value = mandoc_malloc ((size_t)n->nchild * sizeof(char *)); + n->data.Bl->ncols = np->args->argv[c].sz; + n->data.Bl->cols = (const char **)np->args->argv[c].value; + for (i = 0, nn = n->child; nn; i++) { np->args->argv[c].value[i] = nn->string; nn->string = NULL;