Simplify the code building lists of spans, no output change intended.
authorschwarze <schwarze@openbsd.org>
Sun, 17 Oct 2021 20:47:54 +0000 (20:47 +0000)
committerschwarze <schwarze@openbsd.org>
Sun, 17 Oct 2021 20:47:54 +0000 (20:47 +0000)
commit1d61b63dee40129c01edfef99dcab28d1b575c6f
tree2c2de2d091ee565d33e63bee0b46bb96915f8f0c
parent6e5266148af681e7d74ed5f347690fe8ea5f0ae4
Simplify the code building lists of spans, no output change intended.

A comment in the code claimed that the list of spans would be sorted,
but the sorting did not actually work.  The layout "LSSS,LLSL" resulted
in the list "0-3, 1-2", whereas the layout "LLSL,LSSS" resulted
in the list "1-2, 0-3".  Since sorting serves no purpose, just leave
the list unsorted.
usr.bin/mandoc/out.c