diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2019-01-31 16:06:22 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2019-01-31 16:06:22 +0000 |
commit | 338daed9057fec44c6861151bafb7a548b241d19 (patch) | |
tree | 9dee127a583b4edb698adc121ee43249013828e9 /regress/mdoc/Em | |
parent | e291aeca07d9e0f49b1f3d2d81da6aad6b6472dc (diff) | |
download | mandoc-338daed9057fec44c6861151bafb7a548b241d19.tar.gz |
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/mdoc/Em')
0 files changed, 0 insertions, 0 deletions