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>
Thu, 16 Feb 2023 22:24:55 +0000 (14:24 -0800)
commitb6126d7bc33c6b52cb7d0842c297ef870ea19623
tree3ded8a18b745de76dcfef5669d3a731cf9a6d246
parent75e0214defed00011cfb6d74ce220cafd4e69fb7
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
tests/language/commands/ctables.at