diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2024-03-20 16:56:46 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2024-03-20 16:56:46 -0400 |
commit | 54490a29006529f7ceb4dc0514a075f9f4175621 (patch) | |
tree | 2362a394bce4f8b2b2b51ed16f835a4aa7d9ffba /src/pwcache.h | |
parent | 745fd4be765407f7c56d61c281c28e2468ba25b5 (diff) | |
download | bfs-54490a29006529f7ceb4dc0514a075f9f4175621.tar.xz |
bfstd: Check that wcwidth() is positive
wcwidth() returns -1 for non-printable characters, but terminals
typically don't print anything for them, so treat them as 0.
Diffstat (limited to 'src/pwcache.h')
0 files changed, 0 insertions, 0 deletions