summaryrefslogtreecommitdiffstats
path: root/src/eval.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2023-12-16 11:54:18 -0500
committerTavian Barnes <tavianator@tavianator.com>2023-12-16 11:54:18 -0500
commitaa8344e04bfe950cc9f5e45352cd8202295e0cdf (patch)
tree7234a88dd56f8cd9406b9265693c3af9842d747f /src/eval.c
parent023482caa20c0d3b5ab1641f26d8384829b1e43f (diff)
downloadbfs-aa8344e04bfe950cc9f5e45352cd8202295e0cdf.tar.xz
bfstd: New xwcwidth() wrapper
Diffstat (limited to 'src/eval.c')
-rw-r--r--src/eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eval.c b/src/eval.c
index 55b14f0..a990fd4 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -1154,7 +1154,7 @@ static void eval_status(struct bfs_eval *state, struct bfs_bar *bar, struct time
// Invalid byte sequence, assume a single-width '?'
cwidth = 1;
} else {
- cwidth = wcwidth(wc);
+ cwidth = xwcwidth(wc);
if (cwidth < 0) {
cwidth = 0;
}