aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarl Heuer1994-10-04 16:45:39 +0000
committerKarl Heuer1994-10-04 16:45:39 +0000
commite09798108da0d80621cf4b04897f57f75745e6e7 (patch)
treec915c16c1107208bdbf4270880537999c3411392
parentc2213350bf1b29f16b08c013cc8f8ea8a766dcc6 (diff)
downloademacs-e09798108da0d80621cf4b04897f57f75745e6e7.tar.gz
emacs-e09798108da0d80621cf4b04897f57f75745e6e7.zip
(compute_char_face): Don't use XFASTINT as an lvalue.
-rw-r--r--src/xfaces.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xfaces.c b/src/xfaces.c
index cbbc1eb26f8..a96085ee2ba 100644
--- a/src/xfaces.c
+++ b/src/xfaces.c
@@ -813,7 +813,7 @@ compute_char_face (f, w, pos, region_beg, region_end, endptr, limit, mouse)
813 if (pos < region_beg && region_beg < endpos) 813 if (pos < region_beg && region_beg < endpos)
814 endpos = region_beg; 814 endpos = region_beg;
815 815
816 XFASTINT (position) = pos; 816 XSETFASTINT (position, pos);
817 817
818 if (mouse) 818 if (mouse)
819 propname = Qmouse_face; 819 propname = Qmouse_face;
@@ -825,7 +825,7 @@ compute_char_face (f, w, pos, region_beg, region_end, endptr, limit, mouse)
825 { 825 {
826 Lisp_Object limit1, end; 826 Lisp_Object limit1, end;
827 827
828 XFASTINT (limit1) = (limit < endpos ? limit : endpos); 828 XSETFASTINT (limit1, (limit < endpos ? limit : endpos));
829 end = Fnext_single_property_change (position, propname, w->buffer, limit1); 829 end = Fnext_single_property_change (position, propname, w->buffer, limit1);
830 if (INTEGERP (end)) 830 if (INTEGERP (end))
831 endpos = XINT (end); 831 endpos = XINT (end);