From: Richard M. Stallman Date: Wed, 4 Sep 1996 03:38:40 +0000 (+0000) Subject: (note_mouse_highlight): Pass POS argument to fast_find_position as int. X-Git-Tag: emacs-20.1~3840 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2ef60670b388ac3e7d398b19d99a2bcd8fee5ae4;p=emacs.git (note_mouse_highlight): Pass POS argument to fast_find_position as int. --- diff --git a/src/xterm.c b/src/xterm.c index 82866096bd0..b88b17e7cd8 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -1996,11 +1996,11 @@ note_mouse_highlight (f, x, y) 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 @@ note_mouse_highlight (f, x, y) = 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;