From 241ce7c4428951722fc773686731fdbec70bc6c3 Mon Sep 17 00:00:00 2001 From: Jason Rumney Date: Sat, 17 Nov 2001 17:36:51 +0000 Subject: [PATCH] (notice_overwritten_cursor): Take care of end < 0 case. --- src/xterm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xterm.c b/src/xterm.c index 57c1bcc2d68..5c11906863a 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -11094,7 +11094,7 @@ notice_overwritten_cursor (w, start_x, end_x) && w->phys_cursor_on_p && output_cursor.vpos == w->phys_cursor.vpos && start_x <= w->phys_cursor.x - && end_x > w->phys_cursor.x) + && (end_x < 0 || end_x > w->phys_cursor.x)) w->phys_cursor_on_p = 0; } -- 2.39.2