changeset 36948:fabff5d240fb

(note_mouse_highlight): Dec the int, not the Lisp_Object.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Fri, 23 Mar 2001 04:24:23 +0000
parents d5d10d387722
children 88b92b222846
files src/xterm.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xterm.c	Fri Mar 23 02:51:44 2001 +0000
+++ b/src/xterm.c	Fri Mar 23 04:24:23 2001 +0000
@@ -6908,7 +6908,7 @@
 		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,