mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-03-08 16:01:07 -07:00
Fix display of composed characters
* src/xdisp.c (x_produce_glyphs): Fix off-by-one error in iteration through composition glyphs. (Bug#23938)
This commit is contained in:
parent
df7774be39
commit
10cfb736e2
1 changed files with 2 additions and 2 deletions
|
|
@ -27369,8 +27369,8 @@ x_produce_glyphs (struct it *it)
|
|||
|
||||
eassume (0 < glyph_len); /* See Bug#8512. */
|
||||
do
|
||||
c = COMPOSITION_GLYPH (cmp, --glyph_len);
|
||||
while (c == '\t' && 0 < glyph_len);
|
||||
c = COMPOSITION_GLYPH (cmp, glyph_len - 1);
|
||||
while (c == '\t' && 0 < --glyph_len);
|
||||
|
||||
bool right_padded = glyph_len < cmp->glyph_len;
|
||||
for (i = 0; i < glyph_len; i++)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue