aboutsummaryrefslogtreecommitdiffstats
path: root/src/xterm.c
diff options
context:
space:
mode:
authorGerd Moellmann <[email protected]>2002-04-24 10:30:06 +0000
committerGerd Moellmann <[email protected]>2002-04-24 10:30:06 +0000
commitf7c5994deb832886c5bf808494335a0cb29ae84b (patch)
treecd9d1233a44e23b4835c31b0a9993e432213724d /src/xterm.c
parent68310f2a121dac224b0104c1526ad05ff0de3202 (diff)
(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 d0a521d6e3..5b4b211924 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -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;
}