If the layout is empty except for requesting a left vertical frame,
authorschwarze <schwarze@openbsd.org>
Tue, 13 Jun 2017 16:11:58 +0000 (16:11 +0000)
committerschwarze <schwarze@openbsd.org>
Tue, 13 Jun 2017 16:11:58 +0000 (16:11 +0000)
commit6a8d9d411fc0692076b6b14046b1f05eb23f030c
tree4122df9856f65fbda74fd85837e28a18197ab3f7
parent17ce27ca3a6e7dcee70733385214a13de2fd2198
If the layout is empty except for requesting a left vertical frame,
record that detail in struct tbl_opts, such that term_tbl() can do
correct column calculations and doesn't prematurely break lines.
Fixes the tbl/layout/empty regression test that got broken when
line breaking in text block cells was implemented.
usr.bin/mandoc/tbl_layout.c