changeset 44805:40e6b88cf568

(notice_overwritten_cursor): Fix an off by 1 error.
author Gerd Moellmann <gerd@gnu.org>
date Wed, 24 Apr 2002 10:29:49 +0000
parents 362418eb5a3d
children 82c4effdcdc4
files src/xterm.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;
 	}