aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJoakim Verona2015-01-18 00:08:40 +0100
committerJoakim Verona2015-01-18 00:08:40 +0100
commit576960211cb54bc77dc6969591420bca89c59456 (patch)
treeb9d032ce64fa2e9e7608fb0714ae3dea10fa4b22 /src
parent5e2255017323c54feeaaee220175d7761a3b6ed1 (diff)
downloademacs-576960211cb54bc77dc6969591420bca89c59456.tar.gz
emacs-576960211cb54bc77dc6969591420bca89c59456.zip
bidi bugfix
Bidi bugfix, same as forimages,by Eli Zaretski
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);