From cc2d79728f517ab4b437539826a331181102c60d Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 30 Jan 2010 10:20:14 -0500 Subject: [PATCH] Fix fallout from changes to managing glyph row reversed_p flag. xdisp.c (init_iterator): Initialize it->glyph_row->reversed_p flag. --- src/ChangeLog.bidi | 6 ++++++ src/xdisp.c | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/src/ChangeLog.bidi b/src/ChangeLog.bidi index 470e5a5de01..bb0823c4edb 100644 --- a/src/ChangeLog.bidi +++ b/src/ChangeLog.bidi @@ -1,3 +1,9 @@ +2010-01-30 Eli Zaretskii + + Fix fallout from changes to managing glyph row reversed_p flag. + * xdisp.c (init_iterator): Initialize it->glyph_row->reversed_p + flag. + 2010-01-25 Eli Zaretskii Clean up the mess with setting the glyph row reversed_p flag. diff --git a/src/xdisp.c b/src/xdisp.c index 703676127fa..e9fd8d0af4d 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -2749,6 +2749,10 @@ init_iterator (it, w, charpos, bytepos, row, base_face_id) it->glyph_row = row; it->area = TEXT_AREA; + /* Forget any previous info about this row being reversed. */ + if (it->glyph_row) + it->glyph_row->reversed_p = 0; + /* Get the dimensions of the display area. The display area consists of the visible window area plus a horizontally scrolled part to the left of the window. All x-values are relative to the -- 2.39.2