summaryrefslogtreecommitdiffstats
path: root/src/darray.h
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2023-09-06 16:23:10 -0400
committerTavian Barnes <tavianator@tavianator.com>2023-09-06 16:35:39 -0400
commit90f9205b40b2f2049df46d819d14d67bfcb055be (patch)
treea2829130307c85d74b3c83562cfd20a15f3168f3 /src/darray.h
parent377709664480a30fa5acdd11c7ca8c16669678ce (diff)
downloadbfs-90f9205b40b2f2049df46d819d14d67bfcb055be.tar.xz
bfstd: Fix printable_len() off-by-one
If xmbrtowc() fails, or if xiswprint() is false, then we shouldn't include that wide char in the printable length. Fixes: 19c96abe0a1ee56cf206fd5e87defb1fd3e0daa5
Diffstat (limited to 'src/darray.h')
0 files changed, 0 insertions, 0 deletions