summaryrefslogtreecommitdiffstats
path: root/usr.bin/mandoc/man_html.c
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2020-02-27 00:32:22 +0000
committerschwarze <schwarze@openbsd.org>2020-02-27 00:32:22 +0000
commitd223862ca31dd3c44163f78f3c44ea91ceb81a20 (patch)
treea43273b62f49b70e2da681b79483ff9091063af9 /usr.bin/mandoc/man_html.c
parentno need to go through RETERR when we return a constant (diff)
downloadwireguard-openbsd-d223862ca31dd3c44163f78f3c44ea91ceb81a20.tar.xz
wireguard-openbsd-d223862ca31dd3c44163f78f3c44ea91ceb81a20.zip
Fix this test after the recent Unicode update in OpenBSD base.
The test uses U+07FF NKO TAMAN SIGN because it is the highest code point having a two-byte UTF-8 representation. This character is a new single-width punctuation character in Unicode 11, such that mandoc now does correct horizontal spacing. We already used the code point for the test before it was assigned, which resulted in weird spacing because wcwidth(3) returns -1 for unassigned code points.
Diffstat (limited to 'usr.bin/mandoc/man_html.c')
0 files changed, 0 insertions, 0 deletions