diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/xterm.c | 2 |
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. */ |