aboutsummaryrefslogtreecommitdiffstats
path: root/src/xterm.c
diff options
context:
space:
mode:
authorGerd Moellmann2002-04-24 10:30:06 +0000
committerGerd Moellmann2002-04-24 10:30:06 +0000
commitf7c5994deb832886c5bf808494335a0cb29ae84b (patch)
treecd9d1233a44e23b4835c31b0a9993e432213724d /src/xterm.c
parent68310f2a121dac224b0104c1526ad05ff0de3202 (diff)
downloademacs-f7c5994deb832886c5bf808494335a0cb29ae84b.tar.gz
emacs-f7c5994deb832886c5bf808494335a0cb29ae84b.zip
(notice_overwritten_cursor): Fix an off by 1 error.
Diffstat (limited to 'src/xterm.c')
-rw-r--r--src/xterm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xterm.c b/src/xterm.c
index d0a521d6e3c..5b4b211924e 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -11249,7 +11249,7 @@ notice_overwritten_cursor (w, area, x0, x1, y0, y1)
11249 exception of the cursor being in the first blank row at 11249 exception of the cursor being in the first blank row at
11250 the buffer and window end because update_text_area 11250 the buffer and window end because update_text_area
11251 doesn't draw that row. */ 11251 doesn't draw that row. */
11252 if (((y0 >= cy0 && y0 < cy1) || (y1 >= cy0 && y1 < cy1)) 11252 if (((y0 >= cy0 && y0 < cy1) || (y1 > cy0 && y1 < cy1))
11253 && w->current_matrix->rows[w->phys_cursor.vpos].displays_text_p) 11253 && w->current_matrix->rows[w->phys_cursor.vpos].displays_text_p)
11254 w->phys_cursor_on_p = 0; 11254 w->phys_cursor_on_p = 0;
11255 } 11255 }