From: Eli Zaretskii Date: Sat, 30 Jan 2010 15:20:14 +0000 (-0500) Subject: Fix fallout from changes to managing glyph row reversed_p flag. X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~438^2~635^2~18 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=cc2d79728f517ab4b437539826a331181102c60d;p=emacs.git Fix fallout from changes to managing glyph row reversed_p flag. xdisp.c (init_iterator): Initialize it->glyph_row->reversed_p flag. --- 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