diff --git a/src/xdisp.c b/src/xdisp.c
index 1f4c829..0f21c82 100644
a
|
b
|
get_next_display_element (it) |
5922 | 5922 | int pos = (it->s ? -1 |
5923 | 5923 | : STRINGP (it->string) ? IT_STRING_CHARPOS (*it) |
5924 | 5924 | : IT_CHARPOS (*it)); |
| 5925 | int c; |
| 5926 | |
| 5927 | if (it->what == IT_CHARACTER) |
| 5928 | c = it->char_to_display; |
| 5929 | else |
| 5930 | { |
| 5931 | struct composition *cmp = composition_table[it->cmp_it.id]; |
| 5932 | int i; |
5925 | 5933 | |
5926 | | it->face_id = FACE_FOR_CHAR (it->f, face, it->char_to_display, pos, |
5927 | | it->string); |
| 5934 | c = ' '; |
| 5935 | for (i = 0; i < cmp->glyph_len; i++) |
| 5936 | if ((c = COMPOSITION_GLYPH (cmp, i)) != '\t') |
| 5937 | break; |
| 5938 | } |
| 5939 | it->face_id = FACE_FOR_CHAR (it->f, face, c, pos, it->string); |
5928 | 5940 | } |
5929 | 5941 | } |
5930 | 5942 | #endif |