CVSROOT: /cvs Module name: src Changes by: schwa...@cvs.openbsd.org 2019/01/31 09:06:13
Modified files: usr.bin/mandoc : tbl_term.c Log message: 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).