Commit a2e2a7f6 authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(direct_output_for_insert): Call set_iterator_to_next

with additional argument.
parent 1574933b
2000-10-13 Gerd Moellmann <gerd@gnu.org>
* dispnew.c (direct_output_for_insert): Call set_iterator_to_next
with additional argument.
* xdisp.c (cursor_row_p): New function.
(try_cursor_movement, display_line): Use it.
......
......@@ -3262,7 +3262,7 @@ direct_output_for_insert (g)
delta += 1;
delta_bytes += it.len;
set_iterator_to_next (&it);
set_iterator_to_next (&it, 1);
}
/* Give up if we hit the right edge of the window. We would have
......@@ -3280,7 +3280,7 @@ direct_output_for_insert (g)
{
if (it2.c == '\t')
return 0;
set_iterator_to_next (&it2);
set_iterator_to_next (&it2, 1);
}
/* Number of new glyphs produced. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment