aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/regress/tbl
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2019-01-31 16:06:22 +0000
committerIngo Schwarze <schwarze@openbsd.org>2019-01-31 16:06:22 +0000
commite48916572d460eabf5caba13209f08f8d94d9980 (patch)
treebcae16e774939d66e604b933e49a0d0244775794 /regress/tbl
parent184cfc5d3feba7f450ad72ccdfae588e143fc84a (diff)
downloadmandoc-e48916572d460eabf5caba13209f08f8d94d9980.tar.gz
mandoc-e48916572d460eabf5caba13209f08f8d94d9980.tar.zst
mandoc-e48916572d460eabf5caba13209f08f8d94d9980.zip
Fix tbl(7) centering in mdoc(7) documents.
Since resetting of offsets works quite differently in the mdoc(7) and man(7) formatters, the tbl(7) formatter needs to save the global offset on entry and restore it on exit. The additional indentation needed for table centering has to be added to its own offset variable and applied to each line of the table, rather than only to the first. Bug found by bentley@ in emulators/fceux(6).
Diffstat (limited to 'regress/tbl')
0 files changed, 0 insertions, 0 deletions