diff options
author | Karl Heuer <kwzh@gnu.org> | 1994-10-04 16:45:39 +0000 |
---|---|---|
committer | Karl Heuer <kwzh@gnu.org> | 1994-10-04 16:45:39 +0000 |
commit | 6dfac80676ed4cd04081f253130cd01643f61a1c (patch) | |
tree | e4565a97724ad6ea1da90dc9ece84d2edb670ccf /src/xfaces.c | |
parent | ccb69ea71d0f1534c01353da9aed0ea04d6edb57 (diff) | |
download | emacs-6dfac80676ed4cd04081f253130cd01643f61a1c.tar.gz |
(compute_char_face): Don't use XFASTINT as an lvalue.
Diffstat (limited to 'src/xfaces.c')
-rw-r--r-- | src/xfaces.c | 4 |
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) 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); |