changeset 41209:46be38faf3a6

(notice_overwritten_cursor): Take care of end < 0 case.
author Jason Rumney <jasonr@gnu.org>
date Sat, 17 Nov 2001 18:09:27 +0000
parents 6bc6c4288bc0
children b82ef9da4565
files src/xterm.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xterm.c	Sat Nov 17 17:58:51 2001 +0000
+++ b/src/xterm.c	Sat Nov 17 18:09:27 2001 +0000
@@ -11107,7 +11107,7 @@
       && 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;
 }