pivot-output: Implement header rotation correctly.
authorBen Pfaff <blp@cs.stanford.edu>
Mon, 28 Dec 2020 21:29:12 +0000 (13:29 -0800)
committerBen Pfaff <blp@cs.stanford.edu>
Mon, 28 Dec 2020 21:53:29 +0000 (13:53 -0800)
commitfad31c2c2d833c92d029d535d08b73cb67f9725a
tree96429cdb92ddb71c5931d2e5ce14a2beb4baef4b
parent84a89b4fb7344f21f9372e10b7f3177cfdd91ee9
pivot-output: Implement header rotation correctly.

This code had the wrong notion of which headers to rotate.  It also didn't
implement the observed behavior of rotated headers always being centered
both horizontally and vertically.
src/output/pivot-output.c