aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xdisp.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index b38e8a64c5d..fcc0809a464 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -25853,6 +25853,15 @@ produce_xwidget_glyph (struct it *it)
25853 enum glyph_row_area area = it->area; 25853 enum glyph_row_area area = it->area;
25854 25854
25855 glyph = it->glyph_row->glyphs[area] + it->glyph_row->used[area]; 25855 glyph = it->glyph_row->glyphs[area] + it->glyph_row->used[area];
25856 if (it->glyph_row->reversed_p)
25857 {
25858 struct glyph *g;
25859
25860 /* Make room for the new glyph. */
25861 for (g = glyph - 1; g >= it->glyph_row->glyphs[it->area]; g--)
25862 g[1] = *g;
25863 glyph = it->glyph_row->glyphs[it->area];
25864 }
25856 if (glyph < it->glyph_row->glyphs[area + 1]) 25865 if (glyph < it->glyph_row->glyphs[area + 1])
25857 { 25866 {
25858 glyph->charpos = CHARPOS (it->position); 25867 glyph->charpos = CHARPOS (it->position);