summaryrefslogtreecommitdiff
path: root/src/dispnew.c
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2009-12-31 16:14:26 -0500
committerEli Zaretskii <eliz@gnu.org>2009-12-31 16:14:26 -0500
commitd8300a8a317dfe01eaf7dbf7912f5c03c1fbfea3 (patch)
treed99d9c58052815a93a03730dc21c66b6d3810d53 /src/dispnew.c
parent90fcfd71cf705476cf64f7314a57eea8ac9bc8db (diff)
downloademacs-d8300a8a317dfe01eaf7dbf7912f5c03c1fbfea3.tar.gz
Retrospective commit from 2009-09-12.
Undo changes from 2009-09-11. Set row->end and row->start in xdisp.c:display_line. dispnew.c (direct_output_for_insert): Give up if we are reordering bidirectional text. dispextern.h (IT_STACK_SIZE): Enlarge to 5. xdisp.c (display_line): Set row->end and it->start for the next row to the next character in logical order. If we are reordering bidi text, push and pop the iterator before and after momentarily iterating in logical order.
Diffstat (limited to 'src/dispnew.c')
-rw-r--r--src/dispnew.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dispnew.c b/src/dispnew.c
index d74462d31b8..b5764ac7fe3 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -3612,7 +3612,7 @@ direct_output_for_insert (g)
delta += 1;
delta_bytes += it.len;
- set_iterator_to_next (&it, 1, 0);
+ set_iterator_to_next (&it, 1);
}
/* Give up if we hit the right edge of the window. We would have
@@ -3630,7 +3630,7 @@ direct_output_for_insert (g)
{
if (it2.c == '\t')
return 0;
- set_iterator_to_next (&it2, 1, 0);
+ set_iterator_to_next (&it2, 1);
}
/* Number of new glyphs produced. */