]> git.eshelyaron.com Git - emacs.git/commitdiff
(produce_special_glyphs): Use CHAR_BYTES instead of
authorKenichi Handa <handa@m17n.org>
Sat, 20 May 2000 00:05:26 +0000 (00:05 +0000)
committerKenichi Handa <handa@m17n.org>
Sat, 20 May 2000 00:05:26 +0000 (00:05 +0000)
CHAR_LEN.

src/term.c

index 63ed8f86af2d54839a83921a8ddbe4e05b3dd892..f99638c36c45831f83ee1723eb89ff789c9f3f9d 100644 (file)
@@ -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 = '$';