From: Richard M. Stallman Date: Mon, 20 Nov 1995 04:46:08 +0000 (+0000) Subject: (show_mouse_face): When clearing cursor, use proper column range. X-Git-Tag: emacs-19.34~2262 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0d43a5d9ec3d815dc6a9e2058a6b6c3c14fcee37;p=emacs.git (show_mouse_face): When clearing cursor, use proper column range. --- diff --git a/src/xterm.c b/src/xterm.c index c149866c1a9..f1f312a55f5 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -2182,8 +2182,8 @@ show_mouse_face (dpyinfo, hl) /* 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;