diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2023-12-16 11:54:18 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2023-12-16 11:54:18 -0500 |
commit | aa8344e04bfe950cc9f5e45352cd8202295e0cdf (patch) | |
tree | 7234a88dd56f8cd9406b9265693c3af9842d747f /src/bfstd.c | |
parent | 023482caa20c0d3b5ab1641f26d8384829b1e43f (diff) | |
download | bfs-aa8344e04bfe950cc9f5e45352cd8202295e0cdf.tar.xz |
bfstd: New xwcwidth() wrapper
Diffstat (limited to 'src/bfstd.c')
-rw-r--r-- | src/bfstd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bfstd.c b/src/bfstd.c index 9ffa8e6..a3e22f5 100644 --- a/src/bfstd.c +++ b/src/bfstd.c @@ -658,7 +658,7 @@ size_t xstrwidth(const char *str) { // Assume a single-width '?' ++ret; } else { - ret += BFS_INTERCEPT(wcwidth)(wc); + ret += xwcwidth(wc); } } |