~mdw
/
sgt
/
halibut
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
bk_text and bk_info both need to know the on-screen width of
[sgt/halibut]
/
bk_text.c
diff --git
a/bk_text.c
b/bk_text.c
index
373de74
..
8fa7340
100644
(file)
--- a/
bk_text.c
+++ b/
bk_text.c
@@
-480,7
+480,7
@@
static int text_width(void *ctx, word *text) {
attraux(text->aux) == attr_Always ? 0 : 1)
: 0) +
(cvt_ok(charset, text->text) || !text->alt ?
- ustr
len(text->tex
t) :
+ ustr
wid(text->text, charse
t) :
text_width_list(ctx, text->alt)));
case word_WhiteSpace: