diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-01-02 12:04:23 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-01-02 12:04:23 +0000 |
commit | ac7b63b27fa2ab9e5ea8ee979a562bc9bdf27b12 (patch) | |
tree | a1527d88358aa4771b5d32a547fd6eff8882ba03 /tbl_layout.c | |
parent | 18bac1d9d98fd8bc679a1de9e741fb25e542062e (diff) | |
download | mandoc-ac7b63b27fa2ab9e5ea8ee979a562bc9bdf27b12.tar.gz |
Add some final bits necessary in the upcoming -Tascii tbl stuff.
Diffstat (limited to 'tbl_layout.c')
-rw-r--r-- | tbl_layout.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tbl_layout.c b/tbl_layout.c index ecb7e508..b01b521c 100644 --- a/tbl_layout.c +++ b/tbl_layout.c @@ -322,6 +322,8 @@ cell_alloc(struct tbl_node *tbl, struct tbl_row *rp, enum tbl_cellt pos) hp->prev = h->prev; if (h->prev) h->prev->next = hp; + if (h == tbl->first_head) + tbl->first_head = hp; h->prev = hp; hp->next = h; head_adjust(p, hp); |