diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2023-09-06 16:23:10 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2023-09-06 16:35:39 -0400 |
commit | 90f9205b40b2f2049df46d819d14d67bfcb055be (patch) | |
tree | a2829130307c85d74b3c83562cfd20a15f3168f3 /tests/bfs/color_ext0.out | |
parent | 377709664480a30fa5acdd11c7ca8c16669678ce (diff) | |
download | bfs-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 'tests/bfs/color_ext0.out')
0 files changed, 0 insertions, 0 deletions