Commit e25be792 authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

Fix last change for text terminals.

 src/xdisp.c (try_cursor_movement): Don't advance `row' beyond the
 last row of the window.
parent fee65a97
......@@ -8,7 +8,8 @@
`(space ...)', and specifies display in the text area, return 2
rather than 1.
(try_cursor_movement): Check for the need to scroll more
accurately, and prefer exact match for point under bidi.
accurately, and prefer exact match for point under bidi. Don't
advance `row' beyond the last row of the window.
* dispextern.h (struct bidi_it): Rename the disp_prop_p member
into disp_prop; all users changed.
......
......@@ -14624,6 +14624,8 @@ try_cursor_movement (Lisp_Object window, struct text_pos startp, int *scroll_ste
rc = CURSOR_MOVEMENT_SUCCESS;
break;
}
if (MATRIX_ROW_BOTTOM_Y (row) == last_y)
break;
++row;
}
while (((MATRIX_ROW_CONTINUATION_LINE_P (row)
......
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