[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] xwidget 5769602: bidi bugfix
From: |
Joakim Verona |
Subject: |
[Emacs-diffs] xwidget 5769602: bidi bugfix |
Date: |
Sat, 17 Jan 2015 23:09:15 +0000 |
branch: xwidget
commit 576960211cb54bc77dc6969591420bca89c59456
Author: Joakim Verona <address@hidden>
Commit: Joakim Verona <address@hidden>
bidi bugfix
Bidi bugfix, same as forimages,by Eli Zaretski
---
src/xdisp.c | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/src/xdisp.c b/src/xdisp.c
index b38e8a6..fcc0809 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -25853,6 +25853,15 @@ produce_xwidget_glyph (struct it *it)
enum glyph_row_area area = it->area;
glyph = it->glyph_row->glyphs[area] + it->glyph_row->used[area];
+ if (it->glyph_row->reversed_p)
+ {
+ struct glyph *g;
+
+ /* Make room for the new glyph. */
+ for (g = glyph - 1; g >= it->glyph_row->glyphs[it->area]; g--)
+ g[1] = *g;
+ glyph = it->glyph_row->glyphs[it->area];
+ }
if (glyph < it->glyph_row->glyphs[area + 1])
{
glyph->charpos = CHARPOS (it->position);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] xwidget 5769602: bidi bugfix,
Joakim Verona <=