Mercurial > emacs
comparison src/term.c @ 27128:5cd86a04d3ef
(encode_terminal_code): Fix the previous change.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Tue, 04 Jan 2000 01:55:22 +0000 |
parents | 8de2d17323c2 |
children | fd4d74bc1e42 |
comparison
equal
deleted
inserted
replaced
27127:5ecfba201588 | 27128:5cd86a04d3ef |
---|---|
964 so process any alias before testing for simpleness. */ | 964 so process any alias before testing for simpleness. */ |
965 GLYPH_FOLLOW_ALIASES (tbase, tlen, g); | 965 GLYPH_FOLLOW_ALIASES (tbase, tlen, g); |
966 | 966 |
967 if (GLYPH_SIMPLE_P (tbase, tlen, g)) | 967 if (GLYPH_SIMPLE_P (tbase, tlen, g)) |
968 { | 968 { |
969 /* We set the multi-byte form of C at WORKBUF. */ | 969 /* We set the multi-byte form of a character in G |
970 len = CHAR_STRING (src->u.ch, workbuf); | 970 (that should be an ASCII character) at |
971 WORKBUF. */ | |
972 workbuf[0] = FAST_GLYPH_CHAR (g); | |
973 len = 1; | |
971 buf = workbuf; | 974 buf = workbuf; |
972 } | 975 } |
973 else | 976 else |
974 { | 977 { |
975 /* We have a string in Vglyph_table. */ | 978 /* We have a string in Vglyph_table. */ |