From 6f4c2453b87e1d445512dfe1a2ad113748bdeba3 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Tue, 21 Jun 1994 17:13:39 +0000 Subject: [PATCH] (show_mouse_face): Set endcolumn ok in side-by-side windows. --- src/xterm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. */ -- 2.39.5