diff options
| author | Kim F. Storm | 2005-11-04 10:14:54 +0000 |
|---|---|---|
| committer | Kim F. Storm | 2005-11-04 10:14:54 +0000 |
| commit | 8a658d94211c7be8ad5e14b6081982c681b25315 (patch) | |
| tree | 3ecba4492f9ac729236feed1d7ea9f4c618d0cce /src | |
| parent | 7353f169be97b7319630410f550849acea5abfa0 (diff) | |
| download | emacs-8a658d94211c7be8ad5e14b6081982c681b25315.tar.gz emacs-8a658d94211c7be8ad5e14b6081982c681b25315.zip | |
(show_mouse_face): Clear mouse face to eol.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xdisp.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index 4258a99982f..b8f375968af 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -21332,7 +21332,11 @@ show_mouse_face (dpyinfo, draw) | |||
| 21332 | if (row == last) | 21332 | if (row == last) |
| 21333 | end_hpos = dpyinfo->mouse_face_end_col; | 21333 | end_hpos = dpyinfo->mouse_face_end_col; |
| 21334 | else | 21334 | else |
| 21335 | end_hpos = row->used[TEXT_AREA]; | 21335 | { |
| 21336 | end_hpos = row->used[TEXT_AREA]; | ||
| 21337 | if (draw == DRAW_NORMAL_TEXT) | ||
| 21338 | row->fill_line_p = 1; /* Clear to end of line */ | ||
| 21339 | } | ||
| 21336 | 21340 | ||
| 21337 | if (end_hpos > start_hpos) | 21341 | if (end_hpos > start_hpos) |
| 21338 | { | 21342 | { |