render: Fix spanned width distribution for cells not at top or left.
authorBen Pfaff <blp@cs.stanford.edu>
Sun, 22 Jan 2023 20:32:59 +0000 (12:32 -0800)
committerBen Pfaff <blp@cs.stanford.edu>
Sat, 28 Jan 2023 18:19:30 +0000 (10:19 -0800)
commit303e5747c9d617ba87aeb3996c952dc7f4673bf5
tree7bb859cb6c6baf41587dd4956d21272ec212e536
parent55357893cda12d9cbf9ae4c1ec190013e7719d14
render: Fix spanned width distribution for cells not at top or left.

This code always used the widths of rules at the left or top side of the
table, even in cases where the spanned cells were not at the top of left
side of the table.  This obviously made the calculations wrong sometimes.
src/output/render.c