aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1994-06-21 17:13:39 +0000
committerRichard M. Stallman1994-06-21 17:13:39 +0000
commit6f4c2453b87e1d445512dfe1a2ad113748bdeba3 (patch)
tree6cf7947d212a0ce381f1a2fd8b03c2733e953ebe /src
parent9af40217a32c9a5ba43112ebc52b23eb4c16b7c5 (diff)
downloademacs-6f4c2453b87e1d445512dfe1a2ad113748bdeba3.tar.gz
emacs-6f4c2453b87e1d445512dfe1a2ad113748bdeba3.zip
(show_mouse_face): Set endcolumn ok in side-by-side windows.
Diffstat (limited to 'src')
-rw-r--r--src/xterm.c2
1 files changed, 1 insertions, 1 deletions
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)
2398 { 2398 {
2399 int column = (i == mouse_face_beg_row ? mouse_face_beg_col : w->left); 2399 int column = (i == mouse_face_beg_row ? mouse_face_beg_col : w->left);
2400 int endcolumn = (i == mouse_face_end_row ? mouse_face_end_col : w->left + width); 2400 int endcolumn = (i == mouse_face_end_row ? mouse_face_end_col : w->left + width);
2401 endcolumn = min (endcolumn, FRAME_CURRENT_GLYPHS (f)->used[i] - w->left); 2401 endcolumn = min (endcolumn, FRAME_CURRENT_GLYPHS (f)->used[i]);
2402 2402
2403 /* If the cursor's in the text we are about to rewrite, 2403 /* If the cursor's in the text we are about to rewrite,
2404 turn the cursor off. */ 2404 turn the cursor off. */