]> git.eshelyaron.com Git - emacs.git/commitdiff
(show_mouse_face): Set endcolumn ok in side-by-side windows.
authorRichard M. Stallman <rms@gnu.org>
Tue, 21 Jun 1994 17:13:39 +0000 (17:13 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 21 Jun 1994 17:13:39 +0000 (17:13 +0000)
src/xterm.c

index 9ab6c0bce5589715431fa42b7b179be77c730262..15b3e488570758bc7fe03f1e700cfabe8e1b9ee0 100644 (file)
@@ -2398,7 +2398,7 @@ show_mouse_face (hl)
     {
       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.  */