Commit eb49081e authored by Stefan Monnier's avatar Stefan Monnier
Browse files

(note_mouse_highlight): Dec the int, not the Lisp_Object.

parent 799fc921
...@@ -6908,7 +6908,7 @@ note_mouse_highlight (f, x, y) ...@@ -6908,7 +6908,7 @@ note_mouse_highlight (f, x, y)
if (NILP (b)) if (NILP (b))
b = make_number (0); b = make_number (0);
if (NILP (e)) if (NILP (e))
e = make_number (XSTRING (object)->size) - 1; e = make_number (XSTRING (object)->size - 1);
fast_find_string_pos (w, XINT (b), object, fast_find_string_pos (w, XINT (b), object,
&dpyinfo->mouse_face_beg_col, &dpyinfo->mouse_face_beg_col,
&dpyinfo->mouse_face_beg_row, &dpyinfo->mouse_face_beg_row,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment