From eb49081e3efec8494567dfed0e879dfd782b630c Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Fri, 23 Mar 2001 04:24:23 +0000 Subject: [PATCH] (note_mouse_highlight): Dec the int, not the Lisp_Object. --- src/xterm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xterm.c b/src/xterm.c index 0c7cac6d0d0..4996f6e4dfe 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -6908,7 +6908,7 @@ note_mouse_highlight (f, x, y) if (NILP (b)) b = make_number (0); 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, &dpyinfo->mouse_face_beg_col, &dpyinfo->mouse_face_beg_row, -- 2.39.2