aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mandocd.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2021-10-17 20:48:28 +0000
committerIngo Schwarze <schwarze@openbsd.org>2021-10-17 20:48:28 +0000
commitaa8dd33de6ae0205289c952afa6f6c257139beba (patch)
tree77c827988431bd0dc6bf311f7e4b9d9fe1989e77 /mandocd.c
parent5a924a1a48fa00e58c87fec9f0e6f8257855bcc0 (diff)
downloadmandoc-aa8dd33de6ae0205289c952afa6f6c257139beba.tar.gz
mandoc-aa8dd33de6ae0205289c952afa6f6c257139beba.tar.zst
mandoc-aa8dd33de6ae0205289c952afa6f6c257139beba.zip
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.
Diffstat (limited to 'mandocd.c')
0 files changed, 0 insertions, 0 deletions