diff options
Diffstat (limited to 'src/term.c')
-rw-r--r-- | src/term.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/term.c b/src/term.c index 426674f4470..c22d07ac579 100644 --- a/src/term.c +++ b/src/term.c @@ -1821,7 +1821,7 @@ static void produce_glyphless_glyph (struct it *it, Lisp_Object acronym) { int len, face_id = merge_glyphless_glyph_face (it); - char buf[sizeof "\\x" + max (6, (sizeof it->c * CHAR_BIT + 3) / 4)]; + char buf[sizeof "\\x" + max (6, (INT_WIDTH + 3) / 4)]; char const *str = " "; if (it->glyphless_method == GLYPHLESS_DISPLAY_THIN_SPACE) |