summaryrefslogtreecommitdiff
path: root/sfeed_gopher.c
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2021-01-09 16:05:27 +0100
committerHiltjo Posthuma <hiltjo@codemadness.org>2021-01-09 16:07:58 +0100
commitc1b44cf790f8090ff25a2ff268c3f7a8d53e1bcf (patch)
treef8acd28c8fd2bd8b7cd7e03daf0d898272a381bb /sfeed_gopher.c
parent6403eadff853f470a859317f605dd306eb427bba (diff)
printutf8pad: fix byte-seek issue with negative width codepoints in the range >= 127
For example: "\xef\xbf\xb7" (codepoint 0xfff7), returns wcwidth(wc) == -1. The next byte was incorrected seeked, but the codepoint itself was valid (mbtowc).
Diffstat (limited to 'sfeed_gopher.c')
0 files changed, 0 insertions, 0 deletions