From: Stefan Monnier Date: Fri, 23 Mar 2001 04:24:23 +0000 (+0000) Subject: (note_mouse_highlight): Dec the int, not the Lisp_Object. X-Git-Tag: emacs-pretest-21.0.101~199 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=eb49081e3efec8494567dfed0e879dfd782b630c;p=emacs.git (note_mouse_highlight): Dec the int, not the Lisp_Object. --- 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,