]> git.eshelyaron.com Git - emacs.git/commitdiff
(compute_char_face): Don't use XFASTINT as an lvalue.
authorKarl Heuer <kwzh@gnu.org>
Tue, 4 Oct 1994 16:45:39 +0000 (16:45 +0000)
committerKarl Heuer <kwzh@gnu.org>
Tue, 4 Oct 1994 16:45:39 +0000 (16:45 +0000)
src/xfaces.c

index cbbc1eb26f884c4b18f4df20db71227ec9fb36ef..a96085ee2ba6dc243466f6040414986de008c7b0 100644 (file)
@@ -813,7 +813,7 @@ compute_char_face (f, w, pos, region_beg, region_end, endptr, limit, mouse)
   if (pos < region_beg && region_beg < endpos)
     endpos = region_beg;
 
-  XFASTINT (position) = pos;
+  XSETFASTINT (position, pos);
 
   if (mouse)
     propname = Qmouse_face;
@@ -825,7 +825,7 @@ compute_char_face (f, w, pos, region_beg, region_end, endptr, limit, mouse)
   {
     Lisp_Object limit1, end;
 
-    XFASTINT (limit1) = (limit < endpos ? limit : endpos);
+    XSETFASTINT (limit1, (limit < endpos ? limit : endpos));
     end = Fnext_single_property_change (position, propname, w->buffer, limit1);
     if (INTEGERP (end))
       endpos = XINT (end);