]> git.eshelyaron.com Git - emacs.git/commitdiff
(note_mouse_highlight): Dec the int, not the Lisp_Object.
authorStefan Monnier <monnier@iro.umontreal.ca>
Fri, 23 Mar 2001 04:24:23 +0000 (04:24 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Fri, 23 Mar 2001 04:24:23 +0000 (04:24 +0000)
src/xterm.c

index 0c7cac6d0d0c21e0ad1046070f52991058e2b7cb..4996f6e4dfecdd0eef67e7bb169d9b37d3f89efe 100644 (file)
@@ -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,