Commit f7c5994d authored by Gerd Moellmann's avatar Gerd Moellmann

(notice_overwritten_cursor): Fix an off by 1 error.

parent 68310f2a
2002-04-24 Gerd Moellmann <gerd@gnu.org>
* xterm.c (notice_overwritten_cursor): Fix an off by 1 error.
2002-04-23 Colin Walters <walters@verbum.org>
* buffer.c (syms_of_buffer): Doc fix.
......
......@@ -11249,7 +11249,7 @@ notice_overwritten_cursor (w, area, x0, x1, y0, y1)
exception of the cursor being in the first blank row at
the buffer and window end because update_text_area
doesn't draw that row. */
if (((y0 >= cy0 && y0 < cy1) || (y1 >= cy0 && y1 < cy1))
if (((y0 >= cy0 && y0 < cy1) || (y1 > cy0 && y1 < cy1))
&& w->current_matrix->rows[w->phys_cursor.vpos].displays_text_p)
w->phys_cursor_on_p = 0;
}
......
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