changeset 7992:7bb45acbcaa6

(show_mouse_face): Set endcolumn ok in side-by-side windows.
author Richard M. Stallman <rms@gnu.org>
date Tue, 21 Jun 1994 17:13:39 +0000
parents f2e16be5a263
children fde315722669
files src/xterm.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xterm.c	Tue Jun 21 15:42:25 1994 +0000
+++ b/src/xterm.c	Tue Jun 21 17:13:39 1994 +0000
@@ -2398,7 +2398,7 @@
     {
       int column = (i == mouse_face_beg_row ? mouse_face_beg_col : w->left);
       int endcolumn = (i == mouse_face_end_row ? mouse_face_end_col : w->left + width);
-      endcolumn = min (endcolumn, FRAME_CURRENT_GLYPHS (f)->used[i] - w->left);
+      endcolumn = min (endcolumn, FRAME_CURRENT_GLYPHS (f)->used[i]);
 
       /* If the cursor's in the text we are about to rewrite,
 	 turn the cursor off.  */