summaryrefslogtreecommitdiff
path: root/usr.bin/unvis
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2016-04-27 09:36:26 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2016-04-27 09:36:26 +0000
commit4cfd93ac03c7fe5c36c15f7693b4df0aa7ed288f (patch)
tree9b6dd78c5a1277a7ed4cfbe74a8bc30cbe3c8865 /usr.bin/unvis
parent610fa70ca6a50bd5a55ea134dccfea8fb312e63b (diff)
Loads of platforms appear to have old or broken Unicode character type
information and are missing widths for relatively common Unicode characters (so mbtowc() works, but wcwidth() fails). So if wcwidth() returns -1, assume a width of 1 instead of ignoring the character.
Diffstat (limited to 'usr.bin/unvis')
0 files changed, 0 insertions, 0 deletions