From: Jason Rumney Date: Sat, 17 Nov 2001 18:09:27 +0000 (+0000) Subject: (notice_overwritten_cursor): Take care of end < 0 case. X-Git-Tag: ttn-vms-21-2-B4~18429 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9f0de4e301eb518291ae040a7f71af5e2b3f6c90;p=emacs.git (notice_overwritten_cursor): Take care of end < 0 case. --- diff --git a/src/xterm.c b/src/xterm.c index fd4654532e3..4e82a8092d4 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -11107,7 +11107,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; }