]> git.cameronkatri.com Git - mandoc.git/commit
Simplify the code building lists of spans, no output change intended.
authorIngo Schwarze <schwarze@openbsd.org>
Sun, 17 Oct 2021 20:48:28 +0000 (20:48 +0000)
committerIngo Schwarze <schwarze@openbsd.org>
Sun, 17 Oct 2021 20:48:28 +0000 (20:48 +0000)
commitaa8dd33de6ae0205289c952afa6f6c257139beba
tree77c827988431bd0dc6bf311f7e4b9d9fe1989e77
parent5a924a1a48fa00e58c87fec9f0e6f8257855bcc0
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.
out.c