=================================================================== RCS file: /cvs/mandoc/tbl_layout.c,v retrieving revision 1.7 retrieving revision 1.8 diff -u -p -r1.7 -r1.8 --- mandoc/tbl_layout.c 2011/01/02 12:04:23 1.7 +++ mandoc/tbl_layout.c 2011/01/02 20:34:05 1.8 @@ -1,4 +1,4 @@ -/* $Id: tbl_layout.c,v 1.7 2011/01/02 12:04:23 kristaps Exp $ */ +/* $Id: tbl_layout.c,v 1.8 2011/01/02 20:34:05 kristaps Exp $ */ /* * Copyright (c) 2009, 2010 Kristaps Dzonsons * @@ -294,7 +294,7 @@ cell_alloc(struct tbl_node *tbl, struct tbl_row *rp, e * ones. */ - h = pp ? pp->head->prev : tbl->first_head; + h = pp ? pp->head->next : tbl->first_head; if (h) { /* Re-use data header. */