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>
Fri, 27 Jan 2023 19:50:31 +0000 (11:50 -0800)
commitfe9b889199f13571d05ab89a183c94420ba7ae58
tree8f27d29056162cbb29630332b49e4edaf5618b6c
parent8502b942ecdbc7d5a688f695cebc6f1bfac79868
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