From: Richard M. Stallman Date: Tue, 21 Jun 1994 17:13:39 +0000 (+0000) Subject: (show_mouse_face): Set endcolumn ok in side-by-side windows. X-Git-Tag: emacs-19.34~7861 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6f4c2453b87e1d445512dfe1a2ad113748bdeba3;p=emacs.git (show_mouse_face): Set endcolumn ok in side-by-side windows. --- diff --git a/src/xterm.c b/src/xterm.c index 9ab6c0bce55..15b3e488570 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -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. */