=================================================================== RCS file: /cvs/mandoc/tbl_layout.c,v retrieving revision 1.43 retrieving revision 1.47 diff -u -p -r1.43 -r1.47 --- mandoc/tbl_layout.c 2017/06/13 16:12:01 1.43 +++ mandoc/tbl_layout.c 2018/12/14 01:18:26 1.47 @@ -1,4 +1,4 @@ -/* $Id: tbl_layout.c,v 1.43 2017/06/13 16:12:01 schwarze Exp $ */ +/* $Id: tbl_layout.c,v 1.47 2018/12/14 01:18:26 schwarze Exp $ */ /* * Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons * Copyright (c) 2012, 2014, 2015, 2017 Ingo Schwarze @@ -20,14 +20,17 @@ #include #include +#include +#include #include #include #include -#include "mandoc.h" #include "mandoc_aux.h" +#include "mandoc.h" +#include "tbl.h" #include "libmandoc.h" -#include "libroff.h" +#include "tbl_int.h" struct tbl_phrase { char name; @@ -357,6 +360,7 @@ cell_alloc(struct tbl_node *tbl, struct tbl_row *rp, e struct tbl_cell *p, *pp; p = mandoc_calloc(1, sizeof(*p)); + p->spacing = SIZE_MAX; p->pos = pos; if ((pp = rp->last) != NULL) {