Mercurial > emacs
diff src/xterm.c @ 16104:f55ff5de378f
(note_mouse_highlight): Pass POS argument to fast_find_position as int.
| author | Richard M. Stallman <rms@gnu.org> |
|---|---|
| date | Wed, 04 Sep 1996 03:38:40 +0000 |
| parents | befa11d2da7e |
| children | 7f8ce4d3e955 |
line wrap: on
line diff
--- a/src/xterm.c Wed Sep 04 03:35:53 1996 +0000 +++ b/src/xterm.c Wed Sep 04 03:38:40 1996 +0000 @@ -1996,11 +1996,11 @@ before = Foverlay_start (overlay); after = Foverlay_end (overlay); /* Record this as the current active region. */ - fast_find_position (window, before, + fast_find_position (window, XFASTINT (before), &FRAME_X_DISPLAY_INFO (f)->mouse_face_beg_col, &FRAME_X_DISPLAY_INFO (f)->mouse_face_beg_row); FRAME_X_DISPLAY_INFO (f)->mouse_face_past_end - = !fast_find_position (window, after, + = !fast_find_position (window, XFASTINT (after), &FRAME_X_DISPLAY_INFO (f)->mouse_face_end_col, &FRAME_X_DISPLAY_INFO (f)->mouse_face_end_row); FRAME_X_DISPLAY_INFO (f)->mouse_face_window = window; @@ -2030,11 +2030,11 @@ = Fnext_single_property_change (position, Qmouse_face, w->buffer, end); /* Record this as the current active region. */ - fast_find_position (window, before, + fast_find_position (window, XFASTINT (before), &FRAME_X_DISPLAY_INFO (f)->mouse_face_beg_col, &FRAME_X_DISPLAY_INFO (f)->mouse_face_beg_row); FRAME_X_DISPLAY_INFO (f)->mouse_face_past_end - = !fast_find_position (window, after, + = !fast_find_position (window, XFASTINT (after), &FRAME_X_DISPLAY_INFO (f)->mouse_face_end_col, &FRAME_X_DISPLAY_INFO (f)->mouse_face_end_row); FRAME_X_DISPLAY_INFO (f)->mouse_face_window = window;
