changeset 13598:4fbb17b559bf

(show_mouse_face): When clearing cursor, use proper column range.
author Richard M. Stallman <rms@gnu.org>
date Mon, 20 Nov 1995 04:46:08 +0000
parents 493156a0ad85
children 4bb7e84fec15
files src/xterm.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/xterm.c	Sun Nov 19 23:25:19 1995 +0000
+++ b/src/xterm.c	Mon Nov 20 04:46:08 1995 +0000
@@ -2182,8 +2182,8 @@
       /* If the cursor's in the text we are about to rewrite,
 	 turn the cursor off.  */
       if (i == curs_y
-	  && curs_x >= FRAME_X_DISPLAY_INFO (f)->mouse_face_beg_col - 1
-	  && curs_x <= FRAME_X_DISPLAY_INFO (f)->mouse_face_end_col)
+	  && curs_x >= column - 1
+	  && curs_x <= endcolumn)
 	{
 	  x_display_cursor (f, 0);
 	  cursor_off = 1;