version 1.74, 2010/07/01 22:56:17 |
version 1.76, 2010/07/13 23:53:20 |
|
|
/* $Id$ */ |
/* $Id$ */ |
/* |
/* |
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@bsd.lv> |
* Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv> |
* |
* |
* Permission to use, copy, modify, and distribute this software for any |
* Permission to use, copy, modify, and distribute this software for any |
* purpose with or without fee is hereby granted, provided that the above |
* purpose with or without fee is hereby granted, provided that the above |
Line 781 post_bl_head(POST_ARGS) |
|
Line 781 post_bl_head(POST_ARGS) |
|
np->args->argv[c].sz = (size_t)n->nchild; |
np->args->argv[c].sz = (size_t)n->nchild; |
np->args->argv[c].value = mandoc_malloc |
np->args->argv[c].value = mandoc_malloc |
((size_t)n->nchild * sizeof(char *)); |
((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++) { |
for (i = 0, nn = n->child; nn; i++) { |
np->args->argv[c].value[i] = nn->string; |
np->args->argv[c].value[i] = nn->string; |