# HG changeset patch # User Gerd Moellmann # Date 1019644189 0 # Node ID 40e6b88cf5686f5f80169bc3a7f05bc77719a2e1 # Parent 362418eb5a3d420f4b0c791c0b579eda52d68691 (notice_overwritten_cursor): Fix an off by 1 error. diff -r 362418eb5a3d -r 40e6b88cf568 src/xterm.c --- a/src/xterm.c Wed Apr 24 05:35:03 2002 +0000 +++ b/src/xterm.c Wed Apr 24 10:29:49 2002 +0000 @@ -11249,7 +11249,7 @@ 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; }