changeset 107629:ab03eb9d2050

Fix fallout from changes to managing glyph row reversed_p flag. xdisp.c (init_iterator): Initialize it->glyph_row->reversed_p flag.
author Eli Zaretskii <eliz@gnu.org>
date Sat, 30 Jan 2010 10:20:14 -0500
parents 16554eec2238
children 074a7ce7d59b
files src/ChangeLog.bidi src/xdisp.c
diffstat 2 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog.bidi	Sat Jan 30 08:50:39 2010 -0500
+++ b/src/ChangeLog.bidi	Sat Jan 30 10:20:14 2010 -0500
@@ -1,3 +1,9 @@
+2010-01-30  Eli Zaretskii  <eliz@gnu.org>
+
+	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  <eliz@gnu.org>
 
 	Clean up the mess with setting the glyph row reversed_p flag.
--- a/src/xdisp.c	Sat Jan 30 08:50:39 2010 -0500
+++ b/src/xdisp.c	Sat Jan 30 10:20:14 2010 -0500
@@ -2749,6 +2749,10 @@
   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