From 68526af59486811f1e773dfeb4301843d52a28e3 Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Sat, 20 May 2000 00:05:26 +0000 Subject: [PATCH] (produce_special_glyphs): Use CHAR_BYTES instead of CHAR_LEN. --- src/term.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/term.c b/src/term.c index 63ed8f86af2..f99638c36c4 100644 --- a/src/term.c +++ b/src/term.c @@ -1904,7 +1904,7 @@ produce_special_glyphs (it, what) && GLYPH_CHAR_VALID_P (XINT (DISP_CONTINUE_GLYPH (it->dp)))) { temp_it.c = FAST_GLYPH_CHAR (XINT (DISP_CONTINUE_GLYPH (it->dp))); - temp_it.len = CHAR_LEN (temp_it.c); + temp_it.len = CHAR_BYTES (temp_it.c); } else temp_it.c = '\\'; @@ -1921,7 +1921,7 @@ produce_special_glyphs (it, what) && GLYPH_CHAR_VALID_P (XINT (DISP_TRUNC_GLYPH (it->dp)))) { temp_it.c = FAST_GLYPH_CHAR (XINT (DISP_TRUNC_GLYPH (it->dp))); - temp_it.len = CHAR_LEN (temp_it.c); + temp_it.len = CHAR_BYTES (temp_it.c); } else temp_it.c = '$'; -- 2.39.5